Expand description

A library to parse epub files

Design goals:

  • ✅ serve as core to the epubparse-wasm library (must compile to WASM)
  • ✅ 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)

Modules

Functions

Parse an epub file to a text-only book structure