New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

utf8-fdf-generator-lite

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

utf8-fdf-generator-lite

Generates FDF (PDF form input) files with UTF-8 support.

  • 0.0.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
716
decreased by-75.64%
Maintainers
1
Weekly downloads
 
Created
Source

UTF-8 FDF File Generator

(Lite version - uses iconv-lite so that there are no binary dependencies).

PDF file form filler file (FDF) generator.

Generates FDF files based on UTF-16 (you don't have to convert anything) so they support UTF-8 characters.

General Information

  • For more information see the Home Page.
  • Or the Repository

Usage

Its is synchronous, just call it, upon return, the file will be already created and you can use it:

generator = require('utf8-fdf-generator').generator;
generator({ myField01: "Gabriel Medina", myField02: "Ciudad Juárez, Chihuahua, México" }, "output.fdf");
// Do whatever you need with file output.fdf here.

You usually do something like:

user@server:~ $ pdftk template.pdf fill_form generated.fdf output final_output.pdf flatten

Where:

  • template.pdf is the original PDF form
  • generated.fdf is the file we generated
  • final_output.pdf is the PDF file with fields filled using data from generated.fdf

Regards,

Gabriel Medina

Twitter: @Rha7

License

MIT

Free Software, Hell Yeah!

Keywords

FAQs

Package last updated on 09 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc