{
  "name": "@leolee9086/hnsw",
  "version": "1.0.3",
  "description": "JavaScript HNSW (Hierarchical Navigable Small World) 向量索引库，支持动态操作和泛型搜索",
  "main": "dist/index.js",
  "module": "dist/index.mjs",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.mjs",
      "require": "./dist/index.js"
    }
  },
  "files": [
    "dist",
    "README.md",
    "LICENSE"
  ],
  "keywords": [
    "hnsw",
    "vector",
    "index",
    "similarity-search",
    "nearest-neighbor",
    "machine-learning",
    "ai"
  ],
  "author": "leolee9086",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/leolee9086/hnsw.git"
  },
  "bugs": {
    "url": "https://github.com/leolee9086/hnsw/issues"
  },
  "homepage": "https://github.com/leolee9086/hnsw#readme",
  "devDependencies": {
    "@types/node": "^20.0.0",
    "@typescript-eslint/eslint-plugin": "^6.0.0",
    "@typescript-eslint/parser": "^6.0.0",
    "eslint": "^8.0.0",
    "hnswlib-node": "^3.0.0",
    "rimraf": "^5.0.0",
    "tsup": "^8.0.0",
    "typescript": "^5.0.0",
    "vitest": "^1.0.0"
  },
  "engines": {
    "node": ">=16.0.0"
  },
  "publishConfig": {
    "access": "public"
  },
  "sideEffects": false,
  "funding": {
    "type": "github",
    "url": "https://github.com/sponsors/leolee9086"
  },
  "scripts": {
    "build": "tsup",
    "dev": "tsup --watch",
    "test": "vitest --run",
    "test:watch": "vitest --watch",
    "test:coverage": "vitest --coverage",
    "bench": "vitest bench bench/hnsw-vs-hnswlib-benchmark.bench.ts",
    "lint": "eslint src --ext .ts",
    "lint:fix": "eslint src --ext .ts --fix",
    "type-check": "tsc --noEmit",
    "clean": "rimraf dist",
    "build:publish": "npm run build && ./scripts/auto-publish.sh",
    "version:patch": "./scripts/version.sh",
    "quick:publish": "./scripts/quick-publish.sh",
    "build:all": "pnpm build && pnpm --filter example build",
    "dev:example": "pnpm --filter example dev",
    "test:all": "pnpm test && pnpm --filter example test"
  }
}