-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way to get contents of the epub without rendering it first? #1357
Comments
Instead of var book = ePub();
book.open('myEpub.epub').then(() => { /* ... */ });
// or
var book = ePub('myEpub.epub');
book.ready.then(() => { /* ... */ }); And instead of |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I noticed that when you access book.spineItems[n].contents, or something like that it's only available after the book has been rendered.
Is there a way to access the epub text without rendering the document first?
Currently I use this to get all text in a given book:
This works, but seems a bit clunky.
The text was updated successfully, but these errors were encountered: