Skip to content

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

License

Notifications You must be signed in to change notification settings

epubkit/epub-gen-memory

 
 

Repository files navigation

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 validating URLs before requests are made to them

Install

npm i @epubkit/epub-gen-memory

License

MIT License

About

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

Resources

License

Stars

Watchers

Forks

Languages

  • TypeScript 79.0%
  • EJS 15.7%
  • JavaScript 3.5%
  • HTML 1.3%
  • CSS 0.5%