1.0.0 • Published 1 year ago

pdf-generation v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

PDF Generator

This is a command-line application that generates PDF files from Mustache HTML templates and JSON data using Node.js, Puppeteer, and Mustache.js.

Usage To use the PDF generator, execute the script with the following command:

npx pdf-generation <html-template-file-path> <jsonDirectory>

<html-template-file-path>: Path to the HTML file containing the Mustache template.
<jsonDirectory>: Directory containing JSON files with the data.

The generated PDF files will be saved in the JSON directory with the same name as the source JSON file.

1.0.0

1 year ago