0.0.11 • Published 8 months ago

epubook v0.0.11

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

epubook

version CI

A Node EPUB 3 generation library which supports from low-level API to high-level ebook abstraction with customizable themes.

Usage

Library

npm i epubook
import { Epubook } from 'epubook'

const ebook = await Epubook.create({
  title: 'title',
  description: 'something'
})

const cover = await ebook.cover('./assets/cover.jpg')
const main = ebook.page('chapter', { title: 'Main', content: 'Hello, World!' })

ebook.toc(cover, main)

await ebook.writeFile('./output.epub')

You can see full generation demo here.

CLI

npm i -g @epubook/cli

epubook --version

epubook --help

Resources

License

MIT License © 2023 XLor

0.0.11

8 months ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago