0.2.0 • Published 7 months ago

epubts v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 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

7 months ago

0.1.6

7 months ago

0.1.5

7 months ago

0.1.2

7 months ago

0.1.4

7 months ago

0.1.3

7 months ago

0.1.1

11 months ago

0.1.0

11 months ago