{
  "name": "asyncsse",
  "version": "1.4.1",
  "description": "Fetch Server-Sent Events (SSE) as an async iterable",
  "homepage": "https://github.com/sanand0/asyncsse#readme",
  "repository": {
    "type": "git",
    "url": "https://github.com/sanand0/asyncsse.git"
  },
  "license": "MIT",
  "author": "Anand S <root.node@gmail.com>",
  "type": "module",
  "module": "asyncsse.js",
  "prettier": {
    "printWidth": 120
  },
  "files": [
    "LICENSE",
    "README.md",
    "dist/"
  ],
  "browser": "dist/asyncsse.js",
  "exports": {
    ".": {
      "types": "./dist/asyncsse.d.ts",
      "default": "./dist/asyncsse.js"
    },
    "./fetchtext": {
      "types": "./dist/fetchtext.d.ts",
      "default": "./dist/fetchtext.js"
    }
  },
  "scripts": {
    "build-fetchtext": "npx -y esbuild fetchtext.ts --bundle --minify --format=esm --sourcemap --outfile=dist/fetchtext.js && npx -y --package typescript tsc fetchtext.ts --lib ESNext,DOM --declaration --emitDeclarationOnly --outDir dist",
    "build-asyncsse": "npx -y esbuild asyncsse.ts --bundle --minify --format=esm --sourcemap --outfile=dist/asyncsse.js && npx -y --package typescript tsc asyncsse.ts --lib ESNext,DOM --declaration --emitDeclarationOnly --outDir dist",
    "build": "npm run build-fetchtext && npm run build-asyncsse",
    "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"
  },
  "keywords": [
    "sse",
    "fetch",
    "async",
    "iterable",
    "server-sent-events",
    "streaming",
    "event-stream",
    "generator",
    "http-streaming",
    "real-time",
    "eventsource"
  ],
  "devDependencies": {
    "happy-dom": "^18.0.1"
  }
}
