Skip to content

Commit 6853a6e

Browse files
committed
feat!: Now using @cantoo/pdf-lib for PDF form filling
1 parent 422a730 commit 6853a6e

File tree

7 files changed

+1398
-1583
lines changed

7 files changed

+1398
-1583
lines changed

.vscode/launch.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "node",
9+
"request": "launch",
10+
"name": "Node - map.js",
11+
"skipFiles": [
12+
"<node_internals>/**"
13+
],
14+
"args": [
15+
"${workspaceFolder}/../irs-form-filler/src/forms/f1040.pdf"
16+
],
17+
"program": "${workspaceFolder}/bin/map.js"
18+
},
19+
{
20+
"type": "node",
21+
"request": "launch",
22+
"name": "Node - Current file",
23+
"skipFiles": [
24+
"<node_internals>/**"
25+
],
26+
"args": [
27+
],
28+
"program": "${file}"
29+
}
30+
]
31+
}

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# pdffiller-script
22

3-
Scripted PDF form filling. This project is inspired by [pdffiller](https://github.com/pdffillerjs/pdffiller), but needed something more powerful and flexible to allow filling out many forms with data from a single input configuration file, but also allowing values to be manipulated / computed before form filling. For example, to combine first and last names, or to ensure currency values look like currency values.
4-
5-
This `pdffiller-script` depends on [pdffiller](https://www.npmjs.com/package/pdffiller) and has a dependency on the [PDF Toolkit](http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit).
3+
Scripted PDF form filling. This project is inspired by [pdffiller](https://github.com/pdffillerjs/pdffiller), but needed something more powerful and flexible to allow filling out many forms with data from a single input configuration file, but also allowing values to be manipulated / computed before form filling. For example, to combine first and last names, or to ensure currency values look like currency values. This module now uses [@cantoo/pdf-lib](https://github.com/cantoo-scribe/pdf-lib) to manipulate PDF forms.
64

75
```yaml
86
your.first.name.and.middle.initial:

0 commit comments

Comments
 (0)