-
Notifications
You must be signed in to change notification settings - Fork 24
Description
Thank you for writing this wrapper around Prince! It helped speed up my understanding of how to call Prince via a child process.
https://www.princexml.com/doc/command-line/#specifying-input-and-output
Prince called directly with the first argument - waits for stdin and passes back to stdout when - is passed to -o
ex. cat test.html | prince - -o -
Unfortunately, I have a need to be able to run Prince on lambda and having file I/O was some overhead that I needed to eliminate.
Following this example on how to run Prince on Lambda. I was able to write my own JS that handles this for my use case.
That being said I really like the API surface you provide here in this library and was hoping you could add something to address this. Whether that be a special chain able method or a modification to Prince.prototype.inputs and/or Prince.prototype.output