-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 2.02 KB
/
Copy pathpackage.json
File metadata and controls
89 lines (89 loc) · 2.02 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
{
"name": "docutext",
"version": "1.2.1",
"description": "Zero-dependency TypeScript PDF text extraction for RAG and AI pipelines",
"type": "module",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"node": {
"import": "./dist/index.js"
},
"default": "./dist/browser.js"
},
"./browser": {
"types": "./dist/browser.d.ts",
"import": "./dist/browser.js"
},
"./markdown": {
"types": "./dist/markdown-entry.d.ts",
"import": "./dist/markdown-entry.js"
}
},
"peerDependencies": {
"fflate": "^0.8.0"
},
"peerDependenciesMeta": {
"fflate": {
"optional": true
}
},
"files": [
"dist",
"LICENSE",
"README.md"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"dev:site": "vite --config vite.config.site.ts",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
"lint": "tsc --noEmit",
"build:site": "vite build --config vite.config.site.ts",
"preview:site": "vite preview --config vite.config.site.ts",
"prepublishOnly": "npm test && npm run build"
},
"keywords": [
"pdf",
"text-extraction",
"rag",
"ai",
"typescript",
"zero-dependency",
"parser",
"llm",
"browser"
],
"author": "Barry King (https://github.com/barryking)",
"repository": {
"type": "git",
"url": "git+https://github.com/barryking/docutext.git"
},
"homepage": "https://barryking.github.io/docutext/",
"bugs": {
"url": "https://github.com/barryking/docutext/issues"
},
"license": "MIT",
"engines": {
"node": ">=18.0.0"
},
"devDependencies": {
"@types/node": "^25.2.3",
"dompurify": "^3.3.1",
"fflate": "^0.8.2",
"marked": "^17.0.3",
"pdf-parse": "^2.4.5",
"pdfjs-dist": "^5.4.296",
"tsup": "^8.4.0",
"tsx": "^4.21.0",
"typescript": "^5.7.0",
"unpdf": "^1.4.0",
"vite": "^7.3.1",
"vitest": "^3.0.0"
}
}