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

use file instead of path to file string #22

Open
conor909 opened this issue Nov 22, 2019 · 1 comment
Open

use file instead of path to file string #22

conor909 opened this issue Nov 22, 2019 · 1 comment

Comments

@conor909
Copy link

conor909 commented Nov 22, 2019

I have a node script that generates a PDF file, and I want to pass the file directly to be converted instead of saving the file to disk and giving a path to file

@leonmarkus
Copy link

Why is saving it in a temporary directory not an option? :)
If your generated file is a stream for example you can simply use fs.createWriteStream to write that stream to a temporary file.

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