-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 1.83 KB
/
Copy pathpackage.json
File metadata and controls
67 lines (67 loc) · 1.83 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
{
"name": "docling.rs",
"version": "0.6.1",
"description": "Node.js / Bun bindings for docling.rs \u2014 a Rust port of docling. Convert Markdown, HTML, DOCX, PPTX, XLSX, PDF, images and more into a unified DoclingDocument (Markdown or docling-core JSON).",
"keywords": [
"docling",
"document",
"pdf",
"markdown",
"docx",
"converter",
"napi",
"bun"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/docling-project/docling.rs.git",
"directory": "crates/docling-node"
},
"homepage": "https://github.com/docling-project/docling.rs",
"main": "index.js",
"types": "index.d.ts",
"exports": {
".": {
"types": "./index.d.ts",
"import": "./index.js",
"require": "./index.js"
}
},
"napi": {
"name": "docling-rs",
"triples": {
"defaults": false,
"additional": [
"x86_64-unknown-linux-gnu",
"aarch64-unknown-linux-gnu",
"x86_64-pc-windows-msvc"
]
}
},
"engines": {
"node": ">= 14"
},
"files": [
"index.js",
"index.d.ts",
"deps.js",
"native.js",
"native.d.ts",
"README.md"
],
"scripts": {
"build": "napi build --platform --release --strip --js native.js --dts native.d.ts",
"build:cuda": "napi build --platform --release --strip --js native.js --dts native.d.ts --features cuda",
"build:debug": "napi build --platform --js native.js --dts native.d.ts",
"artifacts": "napi artifacts",
"prepublishOnly": "napi prepublish -t npm --skip-gh-release",
"version": "napi version",
"test": "node test/smoke.mjs",
"example": "npm --prefix examples install && node examples/node-basic.mjs",
"example:bun": "npm --prefix examples install && bun run examples/bun-basic.ts"
},
"devDependencies": {
"@napi-rs/cli": "^2.18.4"
}
}