@ruvector/wasm 0.1.16 → 0.1.22
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.
- package/package.json +22 -33
- package/README.md +0 -969
- package/pkg/README.md +0 -969
- package/src/indexeddb.js +0 -355
- package/src/worker-pool.js +0 -254
- package/src/worker.js +0 -184
package/package.json
CHANGED
|
@@ -1,46 +1,35 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ruvector/wasm",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "
|
|
5
|
-
"main": "
|
|
6
|
-
"types": "
|
|
7
|
-
"files": [
|
|
8
|
-
"pkg",
|
|
9
|
-
"src/worker.js",
|
|
10
|
-
"src/worker-pool.js",
|
|
11
|
-
"src/indexeddb.js"
|
|
12
|
-
],
|
|
3
|
+
"version": "0.1.22",
|
|
4
|
+
"description": "WebAssembly bindings for RuVector vector database",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
13
7
|
"scripts": {
|
|
14
|
-
"build": "
|
|
15
|
-
"build:
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"test": "wasm-pack test --headless --chrome",
|
|
21
|
-
"test:firefox": "wasm-pack test --headless --firefox",
|
|
22
|
-
"test:node": "wasm-pack test --node",
|
|
23
|
-
"size": "npm run build && gzip -c pkg/ruvector_wasm_bg.wasm | wc -c && echo 'bytes (gzipped)'",
|
|
24
|
-
"optimize": "npm run build && wasm-opt -Oz pkg/ruvector_wasm_bg.wasm -o pkg/ruvector_wasm_bg.wasm",
|
|
25
|
-
"serve": "python3 -m http.server 8080"
|
|
8
|
+
"build": "tsc -b",
|
|
9
|
+
"build:wasm": "cd ../../../crates/ruvector-wasm && wasm-pack build --target nodejs --out-dir ../../npm/packages/wasm/wasm-pkg",
|
|
10
|
+
"clean": "rm -rf dist *.tsbuildinfo wasm-pkg",
|
|
11
|
+
"test": "echo \"Tests not yet implemented\"",
|
|
12
|
+
"typecheck": "tsc --noEmit",
|
|
13
|
+
"lint": "eslint src --ext .ts"
|
|
26
14
|
},
|
|
27
15
|
"keywords": [
|
|
28
16
|
"vector",
|
|
29
17
|
"database",
|
|
30
|
-
"embeddings",
|
|
31
18
|
"wasm",
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"simd",
|
|
35
|
-
"web-workers",
|
|
36
|
-
"indexeddb"
|
|
19
|
+
"webassembly",
|
|
20
|
+
"embeddings"
|
|
37
21
|
],
|
|
22
|
+
"author": "",
|
|
38
23
|
"license": "MIT",
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
24
|
+
"files": [
|
|
25
|
+
"dist",
|
|
26
|
+
"wasm-pkg",
|
|
27
|
+
"README.md"
|
|
28
|
+
],
|
|
29
|
+
"publishConfig": {
|
|
30
|
+
"access": "public"
|
|
42
31
|
},
|
|
43
|
-
"
|
|
44
|
-
"
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"@ruvector/core": "^0.1.0"
|
|
45
34
|
}
|
|
46
35
|
}
|