0.2.0 • Published 5 months ago

epubts v0.2.0

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

epubts

A typescript ePub loader library for the browser. Works on browser File objects.

Usage

// Load Epub singleton
import Epub from "epubts";
// Load your file
const epub = await Epub.load(epubFile);
// Get the items ids of the content
const spineItemIds = epub.spine.contents.map(item => item.id);
// Load chapter data
const chapterData = await epub.getChapter(spineItemIds[0]);

Acknowledgements

This project is based on the epub js node library.

License

MIT License

0.2.0

5 months ago

0.1.6

6 months ago

0.1.5

6 months ago

0.1.2

6 months ago

0.1.4

6 months ago

0.1.3

6 months ago

0.1.1

9 months ago

0.1.0

9 months ago