{
  "name": "@kanaries/ml",
  "version": "1.1.0",
  "description": "Machine learning library for JavaScript and TypeScript with a scikit-learn-style API: classification, regression, clustering, dimensionality reduction, and anomaly detection in the browser and Node.js.",
  "files": [
    "build",
    "!build/**/__test__"
  ],
  "main": "./build/index.js",
  "types": "./build/index.d.ts",
  "module": "./build/index.mjs",
  "exports": {
    ".": {
      "types": "./build/index.d.ts",
      "import": "./build/index.mjs",
      "require": "./build/index.js"
    }
  },
  "scripts": {
    "gen-data": "node scripts/run_gen_data.js",
    "test": "jest",
    "test:regen-data": "npm run gen-data",
    "build": "vite build && tsc --emitDeclarationOnly --outDir build",
    "prepublishOnly": "npm run build",
    "doc": "docsify serve docs",
    "dev": "NODE_ENV=development vite",
    "build:example": "NODE_ENV=development vite build",
    "preview": "vite preview",
    "coverage:sklearn": "node scripts/coverage-vs-sklearn",
    "benchmark:csr": "npm run build && node --max-old-space-size=256 --expose-gc scripts/benchmark-csr-memory.mjs",
    "benchmark:csr:browser": "npm run build && node scripts/benchmark-csr-browser.mjs"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Kanaries/ml.git"
  },
  "prettier": {
    "singleQuote": true,
    "tabWidth": 4,
    "printWidth": 120
  },
  "keywords": [
    "machine learning",
    "machine-learning",
    "ML",
    "AI",
    "scikit-learn",
    "sklearn",
    "typescript",
    "data science",
    "classification",
    "regression",
    "clustering",
    "kmeans",
    "random forest",
    "xgboost",
    "gradient boosting",
    "decision tree",
    "knn",
    "svm",
    "pca",
    "anomaly detection",
    "isolation forest",
    "naive bayes",
    "browser",
    "nodejs",
    "statistics",
    "algorithms"
  ],
  "author": {
    "name": "Observed Observer",
    "email": "270001151@qq.com"
  },
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/Kanaries/ml/issues"
  },
  "homepage": "https://ml.kanaries.net/docs",
  "devDependencies": {
    "@types/assert": "^1.5.1",
    "@types/jest": "^29.5.14",
    "@types/node": "^24.0.3",
    "jest": "^29.7.0",
    "jest-resolve": "^30.0.2",
    "ts-jest": "^29.4.0",
    "typescript": "^5.8.3",
    "vega": "^5.13.0",
    "vega-embed": "^6.10.0",
    "vega-lite": "^6.0.0",
    "vite": "^6.3.5"
  },
  "engines": {
    "node": ">=20.0.0"
  }
}
