0.2.2 • Published 2 years ago

epubparse-js v0.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Epubparse-js

⚠️ Work in progress

This library aims to convert Epub files into text-only Book structures that can be used to do analysis of the contained text. It is published both as a Rust crate to crates.io and as a NPM package (ESM module) to npm. See the project repo for all components. This is the JS wrapper library to expose a JS API for the WASM core.

Design goals

  • ✅ perform a reasonable conversion into a book with chapters
  • ✅ support Epub version 2 table of contents (.ncx)
  • ❌ support Epub version 3 table of contents (.xhtml) (not yet implemented, but
    many version 3 epubs also include version 2 table of contents, these should also work)

Development

Tests should be run with Node 16, two experimental flags are used to deal with ESM modules and WASM:

  • --experimental-specifier-resolution=node
  • --experimental-wasm-modules
0.2.2

2 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.0

3 years ago