{
  "name": "kitten-tts-js",
  "version": "0.1.2",
  "description": "Unofficial JavaScript/TypeScript port of KittenTTS (by KittenML/Stellon Labs) — ultra-lightweight TTS via ONNX models, runs in Node.js and browser",
  "type": "module",
  "exports": {
    ".": {
      "node": "./src/index.node.js",
      "browser": "./src/index.browser.js",
      "default": "./src/index.js"
    }
  },
  "main": "./src/index.js",
  "types": "./src/index.d.ts",
  "files": [
    "src/",
    "LICENSE",
    "NOTICE"
  ],
  "scripts": {
    "test": "node --test test/*.test.js",
    "example": "node examples/node-example.mjs",
    "build:pages": "esbuild src/index.browser.js --bundle --format=esm --outfile=docs/bundle.js --platform=browser --external:onnxruntime-node --external:fs --external:path --external:os --external:stream --external:url --external:crypto --external:module --external:node:* && cp node_modules/onnxruntime-web/dist/ort-wasm* docs/",
    "dev": "npm run build:pages && npx serve docs"
  },
  "dependencies": {
    "@huggingface/hub": "^0.18.0",
    "jszip": "^3.10.1",
    "onnxruntime-node": "^1.20.0",
    "onnxruntime-web": "^1.20.0",
    "phonemizer": "^1.2.1",
    "wav-encoder": "^1.3.0"
  },
  "devDependencies": {
    "esbuild": "^0.24.0"
  },
  "keywords": [
    "tts",
    "text-to-speech",
    "onnx",
    "wasm",
    "kitten-tts",
    "voice",
    "synthesis",
    "styletts2"
  ],
  "license": "Apache-2.0",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Algiras/kitten-tts-js.git"
  },
  "homepage": "https://algiras.github.io/kitten-tts-js/",
  "bugs": {
    "url": "https://github.com/Algiras/kitten-tts-js/issues"
  }
}
