# @epubook/theme

> Epubook theme

Latest version **0.0.12-beta.4** (published 2026-09-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install @epubook/theme
pnpm add @epubook/theme
yarn add @epubook/theme
bun add @epubook/theme
```

## Health

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

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

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.0.12-beta.4 |
| Published | 2026-09-05 |
| First published | 2026-05-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Node | >=v20.10.0 |
| Dependencies | 2 |
| Unpacked size | 6.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 11 |
| Author | XLor |
| Maintainers | yjl9903 |
| Keywords | ebook, epub, epub-generator, epubook, epubook-theme |

## Links

- npm: https://www.npmjs.com/package/@epubook/theme
- Repository: https://github.com/yjl9903/epubook
- Homepage: https://github.com/yjl9903/epubook#readme
- Issues: https://github.com/yjl9903/epubook/issues
- npm.io page: https://npm.io/package/@epubook/theme

## Dependencies (2)

- [@epubook/xml](https://npm.io/package/@epubook/xml.md) 0.0.12-beta.4
- [@epubook/core](https://npm.io/package/@epubook/core.md) 0.0.12-beta.4

## Recent versions

- 0.0.12-beta.4 (latest) — 2026-09-05
- 0.0.12-beta.2 — 2026-05-04
- 0.0.12-beta.1 — 2026-05-04

## README

# @epubook/theme

[![version](https://img.shields.io/npm/v/@epubook/theme?color=rgb%2850%2C203%2C86%29&label=@epubook/theme)](https://www.npmjs.com/package/@epubook/theme)

The default theme for [epubook](https://github.com/yjl9903/epubook).

## Page templates

+ nav: Generate empty nav page
+ cover: Generate a page with a single cover image
+ chapter: Generate a content page with a title and lines of content

## Conventions

Themes are published to npm registry, and they should follow the conventions below:

+ Package name should start with `epubook-theme-`, for example `epubook-theme-custom` or `@my/epubook-theme-custom`

## License

MIT License © 2023 [XLor](https://github.com/yjl9903)

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