PDF Form Utils for Node.js
A node.js toolkit that wraps PDFTk to expose two essential utilities - generating a list of form fields in a pdf form and filling a pdf form using a JS object.
Environment
- You must have
pdftk
binary in your $PATH - Requires Node.js >= 8.11.0
Usage example of reading form Fields
const getFields = console // path.resolve recommended for sourcePath
Usage example of filling a PDF form with Express
const fs = const app = const generatePDF = app
Acknowledgements
For JS-to-FDF transform: utf8-fdf-generator