Skip to content
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

Does anybody know how it would be possible to pass epub.js a buffer instead of a file url ? #72

Open
florestano opened this issue Jun 18, 2024 · 2 comments

Comments

@florestano
Copy link

No description provided.

@florestano florestano changed the title Does anybody know how it would be possible to pass epub.js a buffer instead of a file ? Does anybody know how it would be possible to pass epub.js a buffer instead of a file url ? Jun 18, 2024
@WernerRaathAtPolymorph
Copy link

I also need this so badly... All my attempts just have not been working

@WernerRaathAtPolymorph
Copy link

This worked for me:

var uint8Array = new Uint8Array(uint8ArrayVal);
book = ePub();
book.open(uint8Array);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants