This is a PDF Generator API example that creates a receipt PDF from HTML. Replace the your_api_key_here
placeholder with your live API key from https://dashboard.pspdfkit.com/api_keys/ in index.js
.
# install dependencies
npm install
# run the example
node index.js
The resulting PDF will be saved in the result.pdf
file.
Please ensure you have signed our CLA so that we can accept your contributions.