@kreuzberg/wasm 4.0.0-rc.13 → 4.0.0-rc.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +139 -139
package/package.json CHANGED
@@ -1,141 +1,141 @@
1
1
  {
2
- "name": "@kreuzberg/wasm",
3
- "version": "4.0.0-rc.13",
4
- "type": "module",
5
- "packageManager": "pnpm@10.17.0",
6
- "description": "Kreuzberg document intelligence - WebAssembly bindings",
7
- "author": {
8
- "name": "Na'aman Hirschfeld",
9
- "email": "nhirschfeld@gmail.com",
10
- "url": "https://kreuzberg.dev"
11
- },
12
- "homepage": "https://kreuzberg.dev",
13
- "bugs": {
14
- "url": "https://github.com/kreuzberg-dev/kreuzberg/issues"
15
- },
16
- "main": "dist/index.cjs",
17
- "module": "dist/index.js",
18
- "types": "dist/index.d.ts",
19
- "exports": {
20
- ".": {
21
- "import": {
22
- "types": "./dist/index.d.ts",
23
- "default": "./dist/index.js"
24
- },
25
- "require": {
26
- "types": "./dist/index.d.cts",
27
- "default": "./dist/index.cjs"
28
- }
29
- },
30
- "./runtime": {
31
- "import": {
32
- "types": "./dist/runtime.d.ts",
33
- "default": "./dist/runtime.js"
34
- },
35
- "require": {
36
- "types": "./dist/runtime.d.cts",
37
- "default": "./dist/runtime.cjs"
38
- }
39
- },
40
- "./adapters/wasm-adapter": {
41
- "import": {
42
- "types": "./dist/adapters/wasm-adapter.d.ts",
43
- "default": "./dist/adapters/wasm-adapter.js"
44
- },
45
- "require": {
46
- "types": "./dist/adapters/wasm-adapter.d.cts",
47
- "default": "./dist/adapters/wasm-adapter.cjs"
48
- }
49
- },
50
- "./ocr/registry": {
51
- "import": {
52
- "types": "./dist/ocr/registry.d.ts",
53
- "default": "./dist/ocr/registry.js"
54
- },
55
- "require": {
56
- "types": "./dist/ocr/registry.d.cts",
57
- "default": "./dist/ocr/registry.cjs"
58
- }
59
- },
60
- "./ocr/tesseract-wasm-backend": {
61
- "import": {
62
- "types": "./dist/ocr/tesseract-wasm-backend.d.ts",
63
- "default": "./dist/ocr/tesseract-wasm-backend.js"
64
- },
65
- "require": {
66
- "types": "./dist/ocr/tesseract-wasm-backend.d.cts",
67
- "default": "./dist/ocr/tesseract-wasm-backend.cjs"
68
- }
69
- }
70
- },
71
- "repository": {
72
- "type": "git",
73
- "url": "https://github.com/kreuzberg-dev/kreuzberg.git"
74
- },
75
- "license": "MIT",
76
- "keywords": [
77
- "wasm",
78
- "webassembly",
79
- "document-intelligence",
80
- "document-extraction",
81
- "text-extraction",
82
- "pdf-extraction",
83
- "ocr",
84
- "pdf",
85
- "docx",
86
- "xlsx",
87
- "pptx",
88
- "office-documents",
89
- "table-extraction",
90
- "metadata-extraction",
91
- "rust",
92
- "binding",
93
- "typescript"
94
- ],
95
- "files": [
96
- "dist",
97
- "pkg",
98
- "*.wasm",
99
- "*.d.ts",
100
- "README.md"
101
- ],
102
- "engines": {
103
- "node": ">= 16"
104
- },
105
- "publishConfig": {
106
- "registry": "https://registry.npmjs.org/",
107
- "access": "public"
108
- },
109
- "scripts": {
110
- "build:wasm:web": "wasm-pack build --target web --out-dir pkg --release",
111
- "build:wasm:bundler": "wasm-pack build --target bundler --out-dir pkg --release",
112
- "build:wasm:nodejs": "wasm-pack build --target nodejs --out-dir pkg --release",
113
- "build:wasm:deno": "wasm-pack build --target deno --out-dir pkg --release",
114
- "build:ts": "tsup && node scripts/fix-type-exports.js",
115
- "copy:pkg": "node scripts/copy-pkg.js",
116
- "build": "npm run build:wasm:nodejs && npm run build:ts && npm run copy:pkg",
117
- "build:all": "npm run build:wasm:web && npm run build:wasm:bundler && npm run build:wasm:nodejs && npm run build:wasm:deno && npm run build:ts && npm run copy:pkg",
118
- "typecheck": "tsc --noEmit",
119
- "lint": "biome check typescript && oxlint typescript",
120
- "lint:fix": "biome check --write typescript",
121
- "format": "biome format --write typescript",
122
- "test": "vitest run",
123
- "test:watch": "vitest",
124
- "test:coverage": "vitest run --coverage",
125
- "test:ui": "vitest --ui",
126
- "prepublishOnly": "npm run build"
127
- },
128
- "devDependencies": {
129
- "@types/node": "^25.0.2",
130
- "@vitest/coverage-v8": "^4.0.15",
131
- "@vitest/ui": "^4.0.15",
132
- "jsdom": "^27.3.0",
133
- "oxlint": "^1.33.0",
134
- "tsup": "^8.5.1",
135
- "typescript": "^5.9.3",
136
- "vitest": "^4.0.15"
137
- },
138
- "optionalDependencies": {
139
- "tesseract-wasm": "^0.11.0"
140
- }
2
+ "name": "@kreuzberg/wasm",
3
+ "version": "4.0.0-rc.14",
4
+ "type": "module",
5
+ "packageManager": "pnpm@10.17.0",
6
+ "description": "Kreuzberg document intelligence - WebAssembly bindings",
7
+ "author": {
8
+ "name": "Na'aman Hirschfeld",
9
+ "email": "nhirschfeld@gmail.com",
10
+ "url": "https://kreuzberg.dev"
11
+ },
12
+ "homepage": "https://kreuzberg.dev",
13
+ "bugs": {
14
+ "url": "https://github.com/kreuzberg-dev/kreuzberg/issues"
15
+ },
16
+ "main": "dist/index.cjs",
17
+ "module": "dist/index.js",
18
+ "types": "dist/index.d.ts",
19
+ "exports": {
20
+ ".": {
21
+ "import": {
22
+ "types": "./dist/index.d.ts",
23
+ "default": "./dist/index.js"
24
+ },
25
+ "require": {
26
+ "types": "./dist/index.d.cts",
27
+ "default": "./dist/index.cjs"
28
+ }
29
+ },
30
+ "./runtime": {
31
+ "import": {
32
+ "types": "./dist/runtime.d.ts",
33
+ "default": "./dist/runtime.js"
34
+ },
35
+ "require": {
36
+ "types": "./dist/runtime.d.cts",
37
+ "default": "./dist/runtime.cjs"
38
+ }
39
+ },
40
+ "./adapters/wasm-adapter": {
41
+ "import": {
42
+ "types": "./dist/adapters/wasm-adapter.d.ts",
43
+ "default": "./dist/adapters/wasm-adapter.js"
44
+ },
45
+ "require": {
46
+ "types": "./dist/adapters/wasm-adapter.d.cts",
47
+ "default": "./dist/adapters/wasm-adapter.cjs"
48
+ }
49
+ },
50
+ "./ocr/registry": {
51
+ "import": {
52
+ "types": "./dist/ocr/registry.d.ts",
53
+ "default": "./dist/ocr/registry.js"
54
+ },
55
+ "require": {
56
+ "types": "./dist/ocr/registry.d.cts",
57
+ "default": "./dist/ocr/registry.cjs"
58
+ }
59
+ },
60
+ "./ocr/tesseract-wasm-backend": {
61
+ "import": {
62
+ "types": "./dist/ocr/tesseract-wasm-backend.d.ts",
63
+ "default": "./dist/ocr/tesseract-wasm-backend.js"
64
+ },
65
+ "require": {
66
+ "types": "./dist/ocr/tesseract-wasm-backend.d.cts",
67
+ "default": "./dist/ocr/tesseract-wasm-backend.cjs"
68
+ }
69
+ }
70
+ },
71
+ "repository": {
72
+ "type": "git",
73
+ "url": "https://github.com/kreuzberg-dev/kreuzberg.git"
74
+ },
75
+ "license": "MIT",
76
+ "keywords": [
77
+ "wasm",
78
+ "webassembly",
79
+ "document-intelligence",
80
+ "document-extraction",
81
+ "text-extraction",
82
+ "pdf-extraction",
83
+ "ocr",
84
+ "pdf",
85
+ "docx",
86
+ "xlsx",
87
+ "pptx",
88
+ "office-documents",
89
+ "table-extraction",
90
+ "metadata-extraction",
91
+ "rust",
92
+ "binding",
93
+ "typescript"
94
+ ],
95
+ "files": [
96
+ "dist",
97
+ "pkg",
98
+ "*.wasm",
99
+ "*.d.ts",
100
+ "README.md"
101
+ ],
102
+ "engines": {
103
+ "node": ">= 16"
104
+ },
105
+ "publishConfig": {
106
+ "registry": "https://registry.npmjs.org/",
107
+ "access": "public"
108
+ },
109
+ "scripts": {
110
+ "build:wasm:web": "wasm-pack build --target web --out-dir pkg --release",
111
+ "build:wasm:bundler": "wasm-pack build --target bundler --out-dir pkg --release",
112
+ "build:wasm:nodejs": "wasm-pack build --target nodejs --out-dir pkg --release",
113
+ "build:wasm:deno": "wasm-pack build --target deno --out-dir pkg --release",
114
+ "build:ts": "tsup && node scripts/fix-type-exports.js",
115
+ "copy:pkg": "node scripts/copy-pkg.js",
116
+ "build": "npm run build:wasm:nodejs && npm run build:ts && npm run copy:pkg",
117
+ "build:all": "npm run build:wasm:web && npm run build:wasm:bundler && npm run build:wasm:nodejs && npm run build:wasm:deno && npm run build:ts && npm run copy:pkg",
118
+ "typecheck": "tsc --noEmit",
119
+ "lint": "biome check typescript && oxlint typescript",
120
+ "lint:fix": "biome check --write typescript",
121
+ "format": "biome format --write typescript",
122
+ "test": "vitest run",
123
+ "test:watch": "vitest",
124
+ "test:coverage": "vitest run --coverage",
125
+ "test:ui": "vitest --ui",
126
+ "prepublishOnly": "npm run build"
127
+ },
128
+ "devDependencies": {
129
+ "@types/node": "^25.0.2",
130
+ "@vitest/coverage-v8": "^4.0.15",
131
+ "@vitest/ui": "^4.0.15",
132
+ "jsdom": "^27.3.0",
133
+ "oxlint": "^1.33.0",
134
+ "tsup": "^8.5.1",
135
+ "typescript": "^5.9.3",
136
+ "vitest": "^4.0.15"
137
+ },
138
+ "optionalDependencies": {
139
+ "tesseract-wasm": "^0.11.0"
140
+ }
141
141
  }