raydb 0.2.2

High-performance embedded graph database
Documentation
{
  "name": "@ray-db/core",
  "version": "0.2.2",
  "description": "RayDB - A fast, lightweight, embedded graph database for Node.js",
  "author": "mask <mask@mask.dev>",
  "homepage": "https://github.com/maskdotdev/ray",
  "main": "dist/index.js",
  "module": "dist/index.js",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js",
      "require": "./dist/index.js"
    },
    "./native": {
      "types": "./index.d.ts",
      "require": "./index.js"
    }
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/maskdotdev/ray"
  },
  "bugs": {
    "url": "https://github.com/maskdotdev/ray/issues"
  },
  "license": "MIT",
  "browser": "browser.js",
  "keywords": [
    "raydb",
    "graph-database",
    "embedded-database",
    "database",
    "graph",
    "rust",
    "napi-rs"
  ],
  "files": [
    "index.d.ts",
    "index.js",
    "browser.js",
    "dist"
  ],
  "napi": {
    "binaryName": "core",
    "targets": [
      "x86_64-pc-windows-msvc",
      "x86_64-apple-darwin",
      "x86_64-unknown-linux-gnu",
      "aarch64-apple-darwin"
    ]
  },
  "engines": {
    "node": ">= 12.22.0 < 13 || >= 14.17.0 < 15 || >= 15.12.0 < 16 || >= 16.0.0"
  },
  "publishConfig": {
    "registry": "https://registry.npmjs.org/",
    "access": "public"
  },
  "scripts": {
    "artifacts": "napi artifacts",
    "bench": "node --import @oxc-node/core/register benchmark/bench.ts",
    "build": "napi build --platform --release && bun run build:ts",
    "build:native": "napi build --platform --release",
    "build:ts": "tsc -p ts/tsconfig.json",
    "build:debug": "napi build --platform && bun run build:ts",
    "build:wasm": "napi build --target wasm32-wasip1-threads --release && node scripts/rename-wasm.mjs",
    "build:wasm:debug": "napi build --target wasm32-wasip1-threads && node scripts/rename-wasm.mjs",
    "format": "run-p format:prettier format:rs format:toml",
    "format:prettier": "prettier . -w",
    "format:toml": "taplo format",
    "format:rs": "cargo fmt",
    "lint": "oxlint .",
    "prepublishOnly": "napi prepublish -t npm",
    "test": "ava",
    "test:wasm": "node scripts/wasm-smoke.mjs",
    "preversion": "napi build --platform && bun run build:ts && git add .",
    "version": "napi version",
    "prepare": "husky"
  },
  "dependencies": {
    "@napi-rs/wasm-runtime": "^1.1.1"
  },
  "devDependencies": {
    "@emnapi/core": "^1.5.0",
    "@emnapi/runtime": "^1.5.0",
    "@napi-rs/cli": "^3.2.0",
    "@oxc-node/core": "^0.0.35",
    "@oxc-node/core-darwin-arm64": "0.0.35",
    "@taplo/cli": "^0.7.0",
    "@tybys/wasm-util": "^0.10.0",
    "ava": "^6.4.1",
    "chalk": "^5.6.2",
    "husky": "^9.1.7",
    "lint-staged": "^16.1.6",
    "npm-run-all2": "^8.0.4",
    "oxlint": "^1.14.0",
    "prettier": "^3.6.2",
    "tinybench": "^6.0.0",
    "typescript": "^5.9.2"
  },
  "lint-staged": {
    "*.@(js|ts|tsx)": [
      "oxlint --fix"
    ],
    "*.@(js|ts|tsx|yml|yaml|md|json)": [
      "prettier --write"
    ],
    "*.toml": [
      "taplo format"
    ]
  },
  "ava": {
    "files": [
      "__test__/**/*.spec.ts"
    ],
    "extensions": {
      "ts": "module"
    },
    "timeout": "2m",
    "workerThreads": false,
    "environmentVariables": {
      "OXC_TSCONFIG_PATH": "./__test__/tsconfig.json"
    },
    "nodeArguments": [
      "--import",
      "@oxc-node/core/register"
    ]
  },
  "prettier": {
    "printWidth": 120,
    "semi": false,
    "trailingComma": "all",
    "singleQuote": true,
    "arrowParens": "always"
  },
  "packageManager": "bun@1.2.4",
  "optionalDependencies": {
    "@ray-db/core-darwin-arm64": "0.2.1",
    "@ray-db/core-darwin-x64": "0.2.1",
    "@ray-db/core-linux-x64-gnu": "0.2.1",
    "@ray-db/core-win32-x64-msvc": "0.2.1"
  }
}