/pdfpa

Simple Node.js tool to automate PDF (Portable Document Format) generation for large printings of raster images. Uses SVG (Scalable Vector Graphics) to build the PDF file dynamically.

Primary LanguageTypeScriptMIT LicenseMIT

PDFPA - PDFPrinterAutomation

Simple Node.js tool to automate PDF (Portable Document Format) generation for large printings of raster images. Uses SVG (Scalable Vector Graphics) to build the PDF file dynamically.

Usage

pdfpa [input directory] [output PDF file]

Build

Requirements

  • Node.js >= 18.17.1

Clone

Clone this project's repository with git:

git clone https://github.com/BrendoCosta/pdfpa.git

Enter project's directory:

cd ./pdfpa

Install project's dependencies:

npm ci

Build

Build runtime files to /dist/pdfpa directory:

npm run build

Run

Run the tool with Node.js runtime:

node ./dist/pdfpa

Pack

Create a binary executable of the tool with Node.js runtime bundled to /dist/bin directory:

npm run pack

License

Source code avaliable under MIT license.