webpack-pdf-generator
v1.0.2
Published
WebpackPDFGenerator is a Webpack-based PDF creator which uses Pug + SCSS as its source.
Downloads
4
Readme
WebpackPDFGenerator
WebpackPDFGenerator is a Webpack-based PDF creator which uses Pug + SCSS as its source.
Features
- Webpack-based, which means with a little bit of knowledge you can add any features you need in your PDF.
- PDF compilation done by printing documents with the Chromium engine (using Puppeteer).
Getting started
- Install package using
npm install -g webpack-pdf-generator
. - Create PDFs using
npx webpack-pdf-generator <file_basename>.pug
. - Open compiled PDF, which is available under
<file_basename>.pdf
.