{
  "name": "@thi.ng/k-means",
  "version": "1.1.1",
  "description": "Configurable k-means & k-medians (with k-means++ initialization) for n-D vectors",
  "type": "module",
  "module": "./index.js",
  "typings": "./index.d.ts",
  "sideEffects": false,
  "repository": {
    "type": "git",
    "url": "https://github.com/thi-ng/umbrella.git"
  },
  "homepage": "https://thi.ng/k-means",
  "funding": [
    {
      "type": "github",
      "url": "https://github.com/sponsors/postspectacular"
    },
    {
      "type": "patreon",
      "url": "https://patreon.com/thing_umbrella"
    },
    {
      "type": "liberapay",
      "url": "https://liberapay.com/thi.ng"
    }
  ],
  "author": "Karsten Schmidt (https://thi.ng)",
  "license": "Apache-2.0",
  "scripts": {
    "build": "yarn build:esbuild && yarn build:decl",
    "build:decl": "tsc --declaration --emitDeclarationOnly",
    "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
    "clean": "bun ../../tools/src/clean-package.ts",
    "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
    "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
    "pub": "yarn npm publish --access public",
    "test": "bun test",
    "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
  },
  "dependencies": {
    "@thi.ng/api": "^8.11.29",
    "@thi.ng/distance": "^3.0.1",
    "@thi.ng/errors": "^2.5.35",
    "@thi.ng/random": "^4.1.20",
    "@thi.ng/vectors": "^8.3.1"
  },
  "devDependencies": {
    "esbuild": "^0.25.5",
    "typedoc": "^0.28.5",
    "typescript": "^5.8.3"
  },
  "keywords": [
    "cluster",
    "distance",
    "k-means",
    "k-means++",
    "k-medians",
    "nd",
    "self-organizing",
    "typescript"
  ],
  "publishConfig": {
    "access": "public"
  },
  "engines": {
    "node": ">=18"
  },
  "files": [
    "./*.js",
    "./*.d.ts"
  ],
  "exports": {
    ".": {
      "default": "./index.js"
    },
    "./api": {
      "default": "./api.js"
    },
    "./kmeans": {
      "default": "./kmeans.js"
    }
  },
  "thi.ng": {
    "alias": "kmeans",
    "status": "beta",
    "year": 2021,
    "screenshot": "examples/kmeans-viz.jpg"
  },
  "gitHead": "b076434a497b291ad33e81b1a15f6a71e2c82cc2\n"
}