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

Running on browser (client-side like pdf-lib) #47

Open
Itzdlg opened this issue Aug 18, 2023 · 2 comments
Open

Running on browser (client-side like pdf-lib) #47

Itzdlg opened this issue Aug 18, 2023 · 2 comments

Comments

@Itzdlg
Copy link

Itzdlg commented Aug 18, 2023

Is there any way to use this library w/o node? Attempting to run it client-side on a Vue 3 Vite site.

@magoz
Copy link

magoz commented Nov 28, 2023

Same here. It doesn't look like there are any node dependencies.

Has anyone succeeded in running it in the browser?

@ADTC
Copy link

ADTC commented Sep 15, 2024

Nope.

 ⨯ ./node_modules/pdf-img-convert/pdf-img-convert.js:30:1
Module not found: Can't resolve 'fs'

I think if there's a fork which removes the "Read from file system" part of the library, maybe it will work in browser.

Such a shame, I was looking forward to using this.

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

3 participants