dhollenbeck / pdftk-bin Goto Github PK
View Code? Open in Web Editor NEWBin Wrapper for pdftk
License: MIT License
Bin Wrapper for pdftk
License: MIT License
Hi, I just bumped into a bin/sh: pdftk: command not found
on my local machine.
After inspecting the code and your README.md, I indeed found out, that I need to set my $PATH properly.
What comes to mind:
a) I can re-use the bin from your npm package, which I have installed as my project's dependency. This will pollute my $PATH with a project-specific binary, and will need to be repeated on a per-project basis
b) I can install your npm package globally and set my $PATH to point to this global package, while still declaring a dependency on a local package for the beanstalk use-case.
c) I can install pdftk-bin as a system package (in my case, this would be and ArchLinux AUR package), and roll with this for the local machine use-case. And still use your npm package for the beanstalk machines
All good, but my question is - what is the motivation behind setting up the $PATH only for beanstalk environments? Is it because a lot of people already have their pdftk installed via other means, e.g. as a system package?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.