@lemonnn/epub-parser
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

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()

Readme

Keywords

Package Sidebar

Install

npm i @lemonnn/epub-parser

Weekly Downloads

0

Version

0.1.4

License

ISC

Unpacked Size

31.2 kB

Total Files

54

Last publish

Collaborators

  • lemonnn