Create a new EpubCheck instance with custom options
Get the current EPUB version being validated against
ProtectedaddAdd a validation message to the context
Validate an EPUB file
The EPUB file as a Uint8Array
Validation result
Validate an expanded EPUB directory (pre-read file map)
Map of relative file paths to their content
Validation result
Validate a single file (OPF, XHTML, etc.) without a full EPUB container
The file content
The filename (used for path in messages)
Validation result
StaticvalidateStatic method to validate an EPUB file with default options
The EPUB file as a Uint8Array
Optional validation options
Validation result
StaticvalidateStatic method to validate an expanded EPUB (pre-read file map)
StaticvalidateStatic method to validate a single file
Main EPUB validation class
Example