Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) 路 2.15 KB
/
Copy pathpackage.json
File metadata and controls
87 lines (87 loc) 路 2.15 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
{
"name": "embedding-utils",
"version": "0.6.1",
"description": "Lightweight, provider-agnostic embedding utilities for Node.js",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"keywords": [
"embedding",
"embeddings",
"vector",
"similarity",
"clustering",
"openai",
"cohere",
"huggingface",
"onnx"
],
"files": [
"dist",
"README.md",
"LICENSE"
],
"sideEffects": false,
"engines": {
"node": ">=18"
},
"repository": {
"type": "git",
"url": "https://github.com/jparkerweb/embedding-utils.git"
},
"bugs": {
"url": "https://github.com/jparkerweb/embedding-utils/issues"
},
"homepage": "https://github.com/jparkerweb/embedding-utils#readme",
"scripts": {
"build": "tsup",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"lint": "eslint src/ tests/ scripts/",
"format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\" \"scripts/**/*.mjs\"",
"format:check": "prettier --check \"src/**/*.ts\" \"tests/**/*.ts\" \"scripts/**/*.mjs\"",
"smoke": "npm run build && node scripts/smoke-test.mjs",
"engines:check": "node scripts/engines-check.mjs"
},
"license": "Apache-2.0",
"peerDependencies": {
"@huggingface/transformers": "^4.2.0"
},
"peerDependenciesMeta": {
"@huggingface/transformers": {
"optional": true
}
},
"overrides": {
"sharp": "^0.35.3",
"adm-zip": "^0.6.0",
"esbuild": "0.27.2"
},
"devDependencies": {
"@huggingface/transformers": "^4.2.0",
"@types/node": "^25.9.5",
"@typescript-eslint/eslint-plugin": "^8.67.0",
"@typescript-eslint/parser": "^8.67.0",
"@vitest/coverage-v8": "^4.1.10",
"eslint": "^10.8.1",
"prettier": "^3.9.6",
"tsup": "^8.5.1",
"typescript": "^6.0.3",
"vitest": "^4.1.10"
}
}