JSON Compiler to Pdfmake
Compile with Json-compiler library and wrap header and footer object in functions for pdfmake.
Installation
npm install json-to-pdfmake --save
Usage
See json-compiler docs (json-compiler);
To add page number to template, insert this string 'currentPage/pageCount'
.
Tests
Run tests locally with:
npm test
Author
Palmabit.com