{
  "name": "@ternlight/mini",
  "version": "0.1.1",
  "description": "On-device semantic embeddings for JavaScript \u2014 the small, fast tier. 1.58-bit BitNet-style sentence embedder via WASM. ~5 MB on the wire, ~2.5 ms per embedding, no API calls.",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/soycaporal/ternlight.git",
    "directory": "packages/mini"
  },
  "homepage": "https://github.com/soycaporal/ternlight",
  "bugs": {
    "url": "https://github.com/soycaporal/ternlight/issues"
  },
  "keywords": [
    "embeddings",
    "semantic-search",
    "vector-search",
    "nearest-neighbor",
    "on-device",
    "edge",
    "wasm",
    "bitnet",
    "ternary",
    "minilm",
    "sentence-embeddings"
  ],
  "type": "commonjs",
  "main": "src/index.js",
  "module": "src/index.mjs",
  "types": "src/index.d.ts",
  "exports": {
    ".": {
      "types": "./src/index.d.ts",
      "node": {
        "import": "./src/index.mjs",
        "require": "./src/index.js"
      },
      "browser": "./src/index.browser.mjs",
      "default": "./src/index.browser.mjs"
    },
    "./web": {
      "types": "./pkg-web/tern_engine.d.ts",
      "default": "./pkg-web/tern_engine.js"
    },
    "./package.json": "./package.json"
  },
  "files": [
    "src/",
    "pkg-node/",
    "pkg-bundler/",
    "pkg-web/",
    "README.md",
    "LICENSE"
  ],
  "publishConfig": {
    "access": "public"
  },
  "engines": {
    "node": ">=18"
  },
  "scripts": {
    "build": "PKG=packages/mini BIN=training/pack/out/model-int4.bin bash ../../scripts/build-engine.sh",
    "test": "node --test tests/"
  }
}
