{
  "name": "asyncllm",
  "version": "2.4.0",
  "description": "Fetch streaming LLM responses as an async iterable",
  "homepage": "https://github.com/sanand0/asyncllm#readme",
  "repository": {
    "type": "git",
    "url": "https://github.com/sanand0/asyncllm.git"
  },
  "license": "MIT",
  "author": "Anand S <root.node@gmail.com>",
  "type": "module",
  "module": "asyncllm.js",
  "prettier": {
    "printWidth": 120
  },
  "files": [
    "LICENSE",
    "README.md",
    "dist/"
  ],
  "browser": "dist/asyncllm.js",
  "exports": {
    ".": "./dist/asyncllm.js",
    "./anthropic": "./dist/anthropic.js",
    "./gemini": "./dist/gemini.js"
  },
  "scripts": {
    "build-asyncllm": "npx -y esbuild asyncllm.js --bundle --minify --format=esm --outfile=dist/asyncllm.js",
    "build-gemini": "npx -y esbuild gemini.js --bundle --minify --format=esm --outfile=dist/gemini.js",
    "build-anthropic": "npx -y esbuild anthropic.js --bundle --minify --format=esm --outfile=dist/anthropic.js",
    "build": "npm run build-asyncllm && npm run build-gemini && npm run build-anthropic",
    "lint:oxlint": "npx -y oxlint --fix",
    "lint:js-md": "npx -y prettier@3.5 --print-width 120 --write '**/*.js' '!**/*.min.js' '!dist/**' '**/*.md'",
    "lint:html": "npx -y js-beautify@1 '**/*.html' --type html --replace --indent-size 2 --max-preserve-newlines 1 --end-with-newline",
    "lint": "npm run lint:oxlint && npm run lint:js-md && npm run lint:html",
    "test": "npx -y vitest run",
    "prepublishOnly": "npm run lint && npm run build && npm test"
  },
  "dependencies": {
    "asyncsse": "^1.3.1"
  },
  "keywords": [
    "sse",
    "fetch",
    "async",
    "iterable",
    "server-sent-events",
    "streaming",
    "llm",
    "openai",
    "anthropic",
    "gemini",
    "cloudflare"
  ],
  "devDependencies": {
    "happy-dom": "^18.0.1",
    "vitest": "^3.2.4"
  }
}
