# @vivliostyle/core

> Vivliostyle Core library for HTML+CSS typesetting with EPUB/Web publications support

Latest version **2.45.1** (published 2026-09-06) · AGPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install @vivliostyle/core
pnpm add @vivliostyle/core
yarn add @vivliostyle/core
bun add @vivliostyle/core
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 2.45.1 |
| Published | 2026-09-06 |
| First published | 2019-12-15 |
| Weekly downloads | 0 |
| License | AGPL-3.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=20 |
| Dependencies | 1 |
| Unpacked size | 4.6 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 790 |
| Author | Vivliostyle Foundation |
| Maintainers | mshinyu, uetchy, akabeko, youchan, spring-raining, johanneswilm, yamasy1549, u1f992 |
| Keywords | vivliostyle |

## Links

- npm: https://www.npmjs.com/package/@vivliostyle/core
- Repository: https://github.com/vivliostyle/vivliostyle.js
- Homepage: https://github.com/vivliostyle/vivliostyle.js/tree/master/packages/core
- Issues: https://github.com/vivliostyle/vivliostyle.js/issues
- npm.io page: https://npm.io/package/@vivliostyle/core

## Dependencies (1)

- [fast-diff](https://npm.io/package/fast-diff.md) ^1.2.0

## Recent versions

- 2.45.1 (latest) — 2026-09-06
- 2.45.0 — 2026-08-22
- 2.44.1 — 2026-07-09
- 2.44.0 — 2026-07-04
- 2.43.3 — 2026-06-18
- 2.43.2 — 2026-06-12
- 2.43.1 — 2026-06-09
- 2.43.0 — 2026-05-22
- 2.42.1 — 2026-05-13
- 2.42.0 — 2026-04-25
- 2.41.0 — 2026-04-11
- 2.40.0 — 2026-01-11
- 2.39.1 — 2025-12-27
- 2.39.0 — 2025-12-25
- 2.38.0 — 2025-12-18
- … 135 more at https://npm.io/package/@vivliostyle/core/versions

## README

# Vivliostyle Core

[![npm][npm]][npm-url]
[![Install Size][size]][size-url]
[![Downloads][downloads]][downloads-url]

Vivliostyle Core library for HTML+CSS typesetting with EPUB/Web publications support

🌏 [Vivliostyle website](https://vivliostyle.org)  
📖 [Documents](https://vivliostyle.org/documents/)  
🤝 [Join Community](https://vivliostyle.org/community/)

## Integrate Vivliostyle Core in your project

```
npm install @vivliostyle/core
```

See [API Reference](https://docs.vivliostyle.org/#/api).

## Vivliostyle official packages using Vivliostyle Core

- [Vivliostyle Viewer](https://github.com/vivliostyle/vivliostyle.js/tree/master/packages/viewer), CSS typesetting and rich paged viewing in your browser
- [Vivliostyle CLI](https://github.com/vivliostyle/vivliostyle-cli), a command-line interface for Vivliostyle.
- [Vivliostyle Print](https://github.com/vivliostyle/vivliostyle-print), allows page-layouting using the Vivliostyle Core for printing within a website without destroying the original layout.

## Development

- [Contribution Guide](https://github.com/vivliostyle/vivliostyle.js/tree/master/CONTRIBUTING.md) for development setup.
- [Development Wiki](https://github.com/vivliostyle/vivliostyle.js/wiki/Development).

## License

Licensed under [AGPL Version 3](https://www.gnu.org/licenses/agpl-3.0.html).

Vivliostyle Core is implemented based on [Peter Sorotokin's EPUB Adaptive Layout implementation](https://github.com/sorotokin/adaptive-layout), which is licensed under [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0).

Vivliostyle Core contains following components:

- [fast-diff](https://www.npmjs.com/package/fast-diff)
  - Licensed under [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)

## Other Documentation

- [Vivliostyle Documents](https://vivliostyle.org/documents/)

[npm]: https://img.shields.io/npm/v/@vivliostyle/core/latest
[npm-next]: https://img.shields.io/npm/v/@vivliostyle/core/next
[npm-url]: https://www.npmjs.com/package/@vivliostyle/core
[size]: https://packagephobia.vercel.app/badge?p=@vivliostyle/core
[size-url]: https://packagephobia.vercel.app/result?p=@vivliostyle/core
[downloads]: https://img.shields.io/npm/dw/@vivliostyle/core.svg
[downloads-url]: https://www.npmjs.com/package/@vivliostyle/core

---
_Source: https://npm.io/package/@vivliostyle/core · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
