file or directory
Get en/decrypto provider
Get file or directory
Get logger
Get onProgress callback
Set callback that tells progress of parse and readItems.
Get default values of parse options
Get types of parse options
Get default values of read options
Get types of read option
Create new Book from context
intermediate result
return Book
return after tasks
return before tasks
Guide parsing in OPF
guide AST
intermediate result
return Context containing guide
Manifest and spine parsing in OPF
manifest AST
spine AST
intermediate result
return Context containing manifest and spine
Locate OPF and base path in container.xml
intermediate result
return Context containing OPF and base path
Metadata parsing in OPF
metadata AST
intermediate result
return Context containing metadata
NCX parsing
intermediate result
return Context containing ncx if exists
OPF parsing
intermediate result
return Context containing OPF parsing result
spine entry
parse options
returns styles and inline style from spine
inline styles included in Spine
path of styles linked to spine
return tasks
Validate parse options and get entries from input
return Context containing parse options, entries
Validate read options and get entries from input
targets
returns Context containing target items, read options, entries
Contents is read using loader suitable for context
properties required for reading
reading results
return after tasks
return before tasks
return tasks
Unzipping if zip source and unzipPath option specified
intermediate result
return Context (no change at this step)
Validate package spec if zip source and validatePackage option specified
intermediate result
return Context (no change at this step)
Parse the input
return Book
Reading contents of Item
target
reading result
Reading contents of Items
targets
reading results
Unzip
success
Generated using TypeDoc
Create new EpubParser
{Errors.ENOENT} no such file or directory
{Errors.EINVAL} invalid input
new EpubParser('./foo/bar.epub' or './foo/bar');