Skip to content

armgit / laya

Public Imported from GitHub
0

Non-autoregressive System 1 decision engine. Typed choice, score and yes/no decisions over any text in a single forward pass, in 100+ languages, with a router that picks the right checkpoint per request.

1.4 KB
Raw Blame
{
  "name": "laya-ts",
  "version": "0.1.0",
  "description": "Fast, local, on-device decision engine (TypeScript runtime)",
  "type": "module",
  "main": "./dist/index.js",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": { ".": { "import": "./dist/index.js", "types": "./dist/index.d.ts" } },
  "scripts": {
    "clean": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"",
    "build": "npm run clean && tsc -p tsconfig.json && node -e \"require('node:fs').copyFileSync('../LICENSE', 'LICENSE')\"",
    "test": "npm run test:types && vitest",
    "test:types": "tsc --noEmit -p tests/tsconfig.types.json",
    "test:package": "node --test tests/package-e2e.mjs",
    "prepack": "npm run build"
  },
  "files": ["dist", "scripts/export_onnx.py"],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/NandhaKishorM/laya.git",
    "directory": "laya-ts"
  },
  "keywords": [
    "decision-model",
    "system-one",
    "routing",
    "guardrails",
    "moderation",
    "triage",
    "onnx"
  ],
  "author": "Convai Innovations",
  "license": "Apache-2.0",
  "bugs": {
    "url": "https://github.com/NandhaKishorM/laya/issues"
  },
  "homepage": "https://nandhakishorm.github.io/laya/",
  "devDependencies": { "@types/node": "^26.6.5", "typescript": "^7.0.2", "vitest": "^5.0.5" },
  "optionalDependencies": { "onnxruntime-node": "^1.31.1", "onnxruntime-web": "^1.31.1" }
}