Skip to content
An FDF (Form Data Format) generator, for populating PDF forms from NodeJS
Find file
Latest commit 6cc4272 Aug 22, 2015 @countable Update
Failed to load latest commit information.
test fixed test, dependencies Aug 6, 2012
.gitignore Initial commit Aug 6, 2012 Update Aug 22, 2015 Fixed object enumeration Feb 21, 2014
index.js Fixed object enumeration Feb 21, 2014
package.json fixed test, dependencies Aug 7, 2012


This is an FDF (Form Data Format) generator for Node.js. FDF is a format you can use to populate Adobe PDF forms.


 npm install fdf


var fdf = require('fdf')
  , fs = require('fs');

var data = fdf.generate({
  name: 'Batman',
  type: 'Superhero'

fs.writeFileSync('data.fdf', data);

A typical way to use the resulting fdf is to auto-fill a PDF form:

pdftk form.pdf fill_form data.fdf output - flatten

This will populate form.pdf with the values.

See Also

Something went wrong with that request. Please try again.