Skip to content

An FDF (Form Data Format) generator, for populating PDF forms from NodeJS

Notifications You must be signed in to change notification settings

countable/js-fdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

js-fdf

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

Installing

 npm install fdf

Usage

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

About

An FDF (Form Data Format) generator, for populating PDF forms from NodeJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published