@epubkit/epub-gen-memory
TypeScript icon, indicating that this package has built-in type declarations

1.0.10-aplha.8 • Public • Published

epub-gen-memory

Generate EPUB books from HTML with a simple API in Node.js or the browser.

This is a fork of cpiber/epub-gen-memory with some additional fixes (or features) used by https://epubkit.app:

  • Support passing local file path to cover option (instead of just URL)
  • Remove the extra new line in the generated ncx chapter title
  • Support img tag with data URL (base64) as src
  • Support css and cssFileName option to add custom chapter CSS
  • Support imageFetcherHeaders option to add custom headers to image fetcher

Install

npm i @epubkit/epub-gen-memory

License

MIT License

Package Sidebar

Install

npm i @epubkit/epub-gen-memory

Weekly Downloads

284

Version

1.0.10-aplha.8

License

MIT

Unpacked Size

353 kB

Total Files

47

Last publish

Collaborators

  • djyde