{
  "name": "@sushanth/toondb",
  "version": "0.3.6",
  "description": "ToonDB is an AI-native database with token-optimized output, O(|path|) lookups, built-in vector search, and durable transactions.",
  "main": "dist/cjs/index.js",
  "module": "dist/esm/index.js",
  "types": "dist/types/index.d.ts",
  "exports": {
    ".": {
      "import": "./dist/esm/index.js",
      "require": "./dist/cjs/index.js",
      "types": "./dist/types/index.d.ts"
    }
  },
  "files": [
    "dist",
    "_bin",
    "bin",
    "scripts/postinstall.js",
    "README.md",
    "LICENSE"
  ],
  "bin": {
    "toondb-server": "./bin/toondb-server.js",
    "toondb-bulk": "./bin/toondb-bulk.js",
    "toondb-grpc-server": "./bin/toondb-grpc-server.js"
  },
  "scripts": {
    "build": "npm run build:cjs && npm run build:esm && npm run build:types && npm run postbuild",
    "build:cjs": "tsc -p tsconfig.cjs.json",
    "build:esm": "tsc -p tsconfig.esm.json",
    "build:types": "tsc -p tsconfig.types.json",
    "postbuild": "node scripts/fix-esm-imports.js",
    "postinstall": "node scripts/postinstall.js",
    "test": "jest",
    "test:coverage": "jest --coverage",
    "lint": "eslint src --ext .ts",
    "lint:fix": "eslint src --ext .ts --fix",
    "format": "prettier --write src/**/*.ts",
    "clean": "rm -rf dist",
    "prepublishOnly": "npm run clean && npm run build && npm test"
  },
  "keywords": [
    "database",
    "llm",
    "ai",
    "vector-search",
    "embedded",
    "key-value",
    "toondb",
    "context-retrieval",
    "transactions"
  ],
  "author": "Sushanth <sushanth@toondb.dev>",
  "license": "Apache-2.0",
  "repository": {
    "type": "git",
    "url": "https://github.com/toondb/toondb.git",
    "directory": "toondb-js"
  },
  "homepage": "https://toondb.dev",
  "bugs": {
    "url": "https://github.com/toondb/toondb/issues"
  },
  "engines": {
    "node": ">=18.0.0"
  },
  "devDependencies": {
    "@types/jest": "^29.5.12",
    "@types/node": "^20.11.0",
    "@types/uuid": "^9.0.0",
    "@typescript-eslint/eslint-plugin": "^7.0.0",
    "@typescript-eslint/parser": "^7.0.0",
    "eslint": "^8.56.0",
    "eslint-config-prettier": "^9.1.0",
    "jest": "^29.7.0",
    "prettier": "^3.2.0",
    "ts-jest": "^29.1.2",
    "typescript": "^5.3.3"
  },
  "dependencies": {
    "@grpc/grpc-js": "^1.12.4",
    "@grpc/proto-loader": "^0.7.15",
    "koffi": "^2.15.0",
    "uuid": "^9.0.0"
  },
  "optionalDependencies": {
    "posthog-node": "^4.18.0"
  }
}
