@lemonnn/epub-parser
v0.1.4
Published
javascript/typescript lib for parsing epub file
Downloads
3
Readme
Usage
import epub from '@lemon/epub-parser'
// the relative path with current workspace root path
const TEST_FILE = path.resolve("src/public/1.epub")
const fn = async () => {
const book = await epub(TEST_FILE);
const toc = book.getTOC()
console.log(toc);
}
fn()