Skip to content

Latest commit

 

History

History
33 lines (29 loc) · 663 Bytes

epub.md

File metadata and controls

33 lines (29 loc) · 663 Bytes

ePub(inpit, [options]) ⇒ Book

Create a new Book instance

Kind: global function
Returns: Book - a new Book object

Param Type Description
inpit string | ArrayBuffer URL, Path or ArrayBuffer
[options] object to pass to the book

Example

ePub()

Example

ePub("/path/to/book/")

Example

ePub("/path/to/book/", { replacements: "blobUrl", store: "epub-js" })

Example

ePub("/path/to/book.epub")

Example

ePub("https://example.com/to/book.epub")