jjwilly16 / node-pdftk

A wrapper for PDF Toolkit with streams and promises.
MIT License
139 stars 33 forks source link

Allow pdftk path to be configured so as to avoid global pdftk installation #4

Closed nul closed 6 years ago

nul commented 6 years ago

To have a self-contained application, the pdftk binary can be included as an asset of the application and used from there rather than having a global install of pdftk.

Can the include optionally pass param to specify the path (command) to the pdftk binary?

jjwilly16 commented 6 years ago

This sounds reasonable. Unfortunately I won't have time to look into this until after the holidays. I'll update this next month sometime.

jjwilly16 commented 6 years ago

I've created a new branch with a pdftk binary that works in Windows. I don't have a lot of time to devote to this, but it's a start. Feel free to pull and play around with it.

If you (or anyone else) would like to contribute by adding Linux or Mac binaries, that would be awesome!

jjwilly16 commented 6 years ago

18 enables the option to specify a binary path. Closing this issue