@allemandi/embed-utils
Version:
Fast, type-safe utilities for comparing and searching vector embeddings.
63 lines (62 loc) • 1.91 kB
JSON
{
"name": "@allemandi/embed-utils",
"version": "2.6.1",
"description": "Fast, type-safe utilities for comparing and searching vector embeddings.",
"main": "dist/index.cjs",
"module": "dist/index.module.js",
"unpkg": "dist/index.umd.js",
"types": "dist/index.d.ts",
"source": "src/index.js",
"type": "module",
"exports": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.module.js"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs"
}
},
"keywords": [
"cosine-similarity",
"vector-similarity",
"nearest-neighbor",
"embeddings",
"vector",
"similarity-search",
"semantic-search",
"vector-search",
"type-safe",
"umd",
"esm",
"commonjs"
],
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"test:jest": "node --experimental-vm-modules node_modules/.bin/jest",
"test:types": "tsc --noEmit",
"test": "yarn run test:jest && yarn run test:types",
"lint": "eslint .",
"docs": "documentation build src/*.js -f md -o ./docs/API.md --access public --sort-order kind",
"build:js": "microbundle --name allemandi.embedUtils",
"build:types": "tsc --project tsconfig.json",
"build": "yarn run build:js && yarn run build:types"
},
"repository": "https://github.com/allemandi/embed-utils",
"author": "allemandi <69766017+allemandi@users.noreply.github.com>",
"license": "MIT",
"devDependencies": {
"@eslint/js": "^9.27.0",
"documentation": "^14.0.3",
"eslint": "^9.27.0",
"globals": "^16.1.0",
"jest": "^29.7.0",
"microbundle": "^0.15.1",
"typescript": "^5.8.3"
}
}