fast4pdf
v1.0.1
Published
CLI for pdf tools that are available at https://ilovepdf.com/
Downloads
3
Readme
Fast4pdf
Fast4pdf is a CLI that convert, merge, split (and more...) pdf files.
What it does
This CLI allow you to manipulate pdf using the API of ilovepdf.com.
See the Tools section to know what you can do.
Installation
Prerequisites
- Developper account to get a Public key of the API.
- Nodejs
npm install -g fast4pdf
# or
yarn global add fast4pdf
Getting started
Execute fast4pdf and enter your public API key.
Tools
Currentlu the following tools are available :
- compress (Reduce file size while optimizing for maximal PDF quality)
- imagepdf (Convert JPG images to PDF in seconds. Easily adjust orientation and margins)
- merge (Combine PDFs)
- officepdf (Convert Word, Powerpoint and Excel to PDF)
- pdfa (Transform your PDF to PDF/A, the ISO-standardized version of PDF for long-term archiving. Your PDF will preserve formatting when accessed in the future)
- pdfjpg (Convert a PDF to JPG image)
- protect (Protect PDF files with a password. Encrypt PDF documents to prevent unauthorized access)
- repair (Repair a damaged PDF and recover data from corrupt PDF. Fix PDF files with our Repair tool)
- rotate (Rotate your PDF)
- split (Separate one page or a whole set for easy conversion into independent PDF files)
- unlock (Remove PDF password security, giving you the freedom to use your PDFs as you want)
- _changeAPIKeys (Change your public API Key)
Example
fast4pdf compress Compressed.pdf ToCompress.pdf
Licence
Distributed under the MIT license. See LICENSE.md
for more information.
Links
This library is published on NPM. Check me on Twitter