paginador-pdf
v1.0.5
Published
A CLI to add page numbers to a PDF
Downloads
3
Readme
pdf-paginator
A CLI to paginate a pdf file.
Installation & Usage
Globally via npm
$ npm install -g pdf-paginator
$ pdf-paginator [file] [option]
Running on-demand
Using npx you can run the script without installing it
$ npx pdf-paginator [file] [option]
Example
$ pdf-paginator ./input.pdf -o ./ouput.pdf
If you want to skip a first page, --skip-first
option can be used.
$ pdf-paginator input.pdf -o output.pdf --skip-first
You can also skip multiple pages by using --skip
option.
$ pdf-paginator input.pdf -o output.pdf --skip=3
Development
Checkout this repository locally, then
$ npm install
$ node -r esm ./pdf-paginator.js [file]