pdftk-bin
Bin version of pdftk
Install
$ npm install --save pdftk-bin
Usage
// Conditionally install pdftk on elasticbeanstalk.// On non-beanstalk environments like your development machinesdoes// `pdftk-bin` does nothing. Therefore, you will need to install//// .// set process.env.PATH and process.env.LD_LIBRARY_PATH// point them to ./node_modules/pdftk-bin/vendor/...; var Exec = exec; { ;} exports { var cmd = 'pdftk --version'; ;};