# utf8-fdf-generator

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

Latest version **0.0.3** (published 2014-04-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install utf8-fdf-generator
pnpm add utf8-fdf-generator
yarn add utf8-fdf-generator
bun add utf8-fdf-generator
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2014-04-14 |
| First published | 2014-04-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | * |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 11 |
| Author | Gabriel Medina |
| Maintainers | rhaseventh |
| Keywords | pdf, fdf, fill, form, generator |

## Links

- npm: https://www.npmjs.com/package/utf8-fdf-generator
- Repository: https://github.com/Rhaseven7h/utf8-fdf-generator
- Issues: https://github.com/Rhaseven7h/utf8-fdf-generator/issues
- npm.io page: https://npm.io/package/utf8-fdf-generator

## Dependencies (1)

- [iconv](https://npm.io/package/iconv.md) *

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.0.3 (latest) — 2014-04-14
- 0.0.1 (0.0.1) — 2014-04-10
- 0.0.2 — 2014-04-10

## README

UTF-8 FDF File Generator
========================

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:

``` JavaScript
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:

```bash
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`


[Home Page]:http://rhaseventh.blogspot.mx/2014/04/node-js-pdf-fill-from-fdf-with-utf-16.html
[Repository]:https://github.com/Rhaseven7h/utf8-fdf-generator

Regards,

[Gabriel Medina] 

Twitter: [@_Rha7_]

[Gabriel Medina]:mailto:rha7.com@gmail.com
[@_Rha7_]:https://twitter.com/_Rha7_
License
----
MIT

**Free Software, Hell Yeah!**

---
_Source: https://npm.io/package/utf8-fdf-generator · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
