pdfmin
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

pdfmin

CI Status Coverage Status

pdfmin is a CLI tool to compress PDF using GhostScript.

Requirements

GhostScript must be installed on your device !

Install GhostScript on UNIX

sudo apt-get install -y ghostscript

Install GhostScript on Windows

Go to https://ghostscript.com/releases/gsdnld.html and download the installer corresponding to your Windows version.

Install GhostScript using the installer.

Usage

Compress only one PDF

npx pdfmin ./myFile.pdf

Compress multiple specific PDF

npx pdfmin ./myFile.pdf ./myFile2.pdf

Compress all PDF in a folder

npx pdfmin ./myFolder/

Compress all PDF in multiple folders

npx pdfmin ./myFolder/ ./myFolder2/

Readme

Keywords

none

Package Sidebar

Install

npm i pdfmin

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

7.74 kB

Total Files

6

Last publish

Collaborators

  • treast