Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 2.6 KB
/
Copy pathpackage.json
File metadata and controls
92 lines (92 loc) · 2.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "pdfkernel",
"version": "0.2.1",
"description": "A pure-TypeScript PDF core: lazy parsing, append-only writing, AcroForm read/fill/flatten/synthesize, and text extraction. No WASM.",
"type": "module",
"license": "MIT",
"author": "Folsom Intelligence",
"repository": {
"type": "git",
"url": "git+https://github.com/folsomintel/pdfkernel.git"
},
"homepage": "https://github.com/folsomintel/pdfkernel#readme",
"bugs": {
"url": "https://github.com/folsomintel/pdfkernel/issues"
},
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./lowlevel": {
"types": "./dist/low-level.d.ts",
"default": "./dist/low-level.js"
},
"./package.json": "./package.json"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"LICENSE",
"README.md"
],
"engines": {
"node": ">=18"
},
"keywords": [
"pdf",
"acroform",
"forms",
"typescript",
"browser",
"text-extraction"
],
"dependencies": {
"@noble/ciphers": "^2.2.0",
"@noble/hashes": "^2.2.0",
"fflate": "^0.8.3"
},
"scripts": {
"build": "tsdown",
"typecheck": "tsc -p tsconfig.json",
"test": "bunx vitest run",
"prepublishOnly": "bun run check && bun run build && bun run test",
"gate:smoke": "bun test/smoke.ts",
"gate:diff": "bun test/diff.ts",
"gate:roundtrip": "bun test/roundtrip.ts",
"gate:writer": "bun test/writer.ts",
"gate:appearance": "bun test/appearance.ts",
"gate:text": "bun test/text-diff.ts",
"gate:synthetic": "bun test/synthetic.ts",
"gate:security": "bun test/security.ts",
"gate:crypto": "bun test/crypto.ts",
"gate:content": "bun test/contentops.ts",
"gate:api": "bun test/api.ts",
"gate:fuzz": "bun test/fuzz.ts",
"bench": "bun bench/all.ts",
"lint": "oxlint src test bench",
"lint:fix": "oxlint src test bench --fix",
"format": "oxfmt src test bench",
"format:check": "oxfmt --check src test bench",
"check": "bun run typecheck && bun run lint && bun run format:check && bun run check:bytes",
"check:bytes": "node scripts/check-bytes.mjs",
"gate:wild": "bun test/wild.ts",
"gate:spec": "bun test/spec.ts"
},
"devDependencies": {
"@arethetypeswrong/core": "^0.18.5",
"@hyzyla/pdfium": "2.1.13",
"@types/node": "^22",
"mupdf": "1.28.0",
"oxfmt": "^0.61.0",
"oxlint": "^1.76.0",
"pdf-lib": "1.17.1",
"publint": "^0.3.22",
"tsdown": "^0.22.14",
"typescript": "^5",
"vitest": "^2"
},
"packageManager": "bun@1.3.14"
}