- Generate custom pdf at server side (node) from custom template using puppeteer and handlebars.
- Genrate tables with dynamic length of json array.
- Fetches data from json object.
1. puppeteer
2. handlerbars
3. This method used chromium browser to generate a pdf file from the defined template
1. At terminal run "npm install".
2. Run "node app.js".
3. "finalpdf.pdf" file will be created at main directory.
To change template design move to "./template/page.hbs"
Sample pdf: "https://github.com/th-10/nodejs-pdf-generate/blob/master/pdfFinal.pdf"