UNPKG

antarys

Version:

High-performance Node.js client for Antarys vector database with HTTP/2, connection pooling, and intelligent caching

87 lines (86 loc) 2.44 kB
{ "name": "antarys", "version": "0.1.11", "description": "High-performance Node.js client for Antarys vector database with HTTP/2, connection pooling, and intelligent caching", "main": "./dist/src/index.js", "types": "./dist/src/index.d.ts", "exports": { ".": { "import": "./dist/src/index.js", "require": "./dist/src/index.js", "types": "./dist/src/index.d.ts" } }, "scripts": { "dev": "tsx examples/basic.ts", "dev:test": "tsx simple-test.ts", "build": "npm run clean && tsc && node -e \"const fs=require('fs');const path=require('path');function fix(d){fs.readdirSync(d).forEach(f=>{const p=path.join(d,f);if(fs.statSync(p).isDirectory())fix(p);else if(f.endsWith('.js')){let c=fs.readFileSync(p,'utf8');c=c.replace(/from\\s+['\\\"](\\\\.[\\/][^'\\\"]*)['\\\"];?/g,(m,i)=>m.replace(i,i+'.js'));fs.writeFileSync(p,c)}})}fix('dist')\"", "clean": "rm -rf dist", "format": "prettier --write \"src/**/*.ts\" \"shared/**/*.ts\"", "typecheck": "tsc --noEmit", "prepack": "npm run build", "prepublishOnly": "npm run typecheck && npm run build", "version:patch": "npm version patch", "version:minor": "npm version minor", "version:major": "npm version major", "release": "npm run version:patch && npm publish", "release:beta": "npm version prerelease --preid=beta && npm publish --tag beta" }, "files": [ "dist/**/*", "README.md", "LICENSE", "CHANGELOG.md" ], "keywords": [ "vector-database", "machine-learning", "embeddings", "similarity-search", "ai", "http2", "performance", "typescript", "nodejs", "antarys", "semantic-search", "vector-similarity", "hnsw", "approximate-nearest-neighbors" ], "author": { "name": "Antarys", "email": "antarys.ai@gmail.com", "url": "https://antarys.ai" }, "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/antarys-ai/antarys-node.git" }, "bugs": { "url": "https://github.com/antarys-ai/antarys-node/issues" }, "homepage": "https://github.com/antarys-ai/antarys-node#readme", "engines": { "node": ">=18.0.0", "npm": ">=8.0.0" }, "dependencies": { "lru-cache": "^11.1.0" }, "devDependencies": { "@types/node": "^24.0.4", "prettier": "^3.6.1", "tsx": "^4.20.3", "typedoc": "^0.28.5", "typescript": "^5.8.3" }, "peerDependencies": { "typescript": ">=4.5.0" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" } }