Skip to content

Lemonnnnnnnnnnn/epubjs-ramda-ts

Repository files navigation

Usage

pnpm i @lemonnn/epub-parser
import epub from '@lemonnn/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()

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published