{
  "name": "@sec-ant/readable-stream",
  "description": "A tiny, zero-dependency asynchronous iterator polyfill/ponyfill for ReadableStreams.",
  "private": false,
  "version": "0.7.1",
  "type": "module",
  "files": [
    "./dist"
  ],
  "main": "./dist/index/index.js",
  "module": "./dist/index/index.js",
  "types": "./dist/index/index.d.ts",
  "exports": {
    ".": "./dist/index/index.js",
    "./asyncIterator": "./dist/index/asyncIterator.js",
    "./fromAnyIterable": "./dist/index/fromAnyIterable.js",
    "./ponyfill": "./dist/ponyfill/index.js",
    "./ponyfill/asyncIterator": "./dist/ponyfill/asyncIterator.js",
    "./ponyfill/fromAnyIterable": "./dist/ponyfill/fromAnyIterable.js",
    "./polyfill": "./dist/polyfill/index.js",
    "./polyfill/asyncIterator": "./dist/polyfill/asyncIterator.js",
    "./polyfill/fromAnyIterable": "./dist/polyfill/fromAnyIterable.js",
    "./async-iterator": {
      "types": "./dist/types/async-iterator.d.ts"
    }
  },
  "typesVersions": {
    "*": {
      "asyncIterator": [
        "./dist/index/asyncIterator.d.ts"
      ],
      "fromAnyIterable": [
        "./dist/index/fromAnyIterable.d.ts"
      ],
      "ponyfill": [
        "./dist/ponyfill/index.d.ts"
      ],
      "ponyfill/asyncIterator": [
        "./dist/ponyfill/asyncIterator.d.ts"
      ],
      "ponyfill/fromAnyIterable": [
        "./dist/ponyfill/fromAnyIterable.d.ts"
      ],
      "polyfill": [
        "./dist/polyfill/index.d.ts"
      ],
      "polyfill/asyncIterator": [
        "./dist/polyfill/asyncIterator.d.ts"
      ],
      "polyfill/fromAnyIterable": [
        "./dist/polyfill/fromAnyIterable.d.ts"
      ],
      "async-iterator": [
        "./dist/types/async-iterator.d.ts"
      ]
    }
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Sec-ant/readable-stream.git"
  },
  "homepage": "https://github.com/Sec-ant/readable-stream",
  "bugs": {
    "url": "https://github.com/Sec-ant/readable-stream/issues",
    "email": "zezhengwu@proton.me"
  },
  "keywords": [
    "stream",
    "web-streams",
    "readablestream",
    "async",
    "asynchronous",
    "iterator",
    "iteration",
    "async-iterator",
    "polyfill",
    "esm",
    "from-iterable"
  ],
  "author": {
    "name": "Ze-Zheng Wu"
  },
  "license": "MIT",
  "publishConfig": {
    "access": "public"
  },
  "devDependencies": {
    "@biomejs/biome": "2.6.2",
    "@changesets/cli": "^3.0.3",
    "@commitlint/cli": "^21.2.4",
    "@commitlint/config-conventional": "^21.2.4",
    "@types/node": "^24.19.2",
    "@vitest/browser": "^5.0.5",
    "@vitest/browser-playwright": "5.0.5",
    "@vitest/coverage-istanbul": "^5.0.5",
    "@vitest/ui": "^5.0.5",
    "concurrently": "^10.0.6",
    "lint-staged": "^17.6.0",
    "playwright": "^1.64.1",
    "prettier": "^3.9.10",
    "simple-git-hooks": "^2.14.0",
    "typescript": "^7.0.2",
    "vite": "^8.3.5",
    "vitest": "^5.0.5"
  },
  "scripts": {
    "update-hooks": "simple-git-hooks",
    "type-check": "tsc --noEmit --emitDeclarationOnly false && tsc -p tsconfig.test.json",
    "format:prettier": "prettier . --write",
    "format:biome": "biome format . --write",
    "format": "conc \"npm:format:prettier\" \"npm:format:biome\"",
    "check:biome": "biome check --write .",
    "check": "conc \"npm:format:prettier\" \"npm:check:biome\"",
    "prebuild": "pnpm -s check && pnpm -s type-check",
    "build": "vite build",
    "copy": "node --input-type=module -e \"import { cp } from 'node:fs/promises'; await cp('src/types', 'dist/types', { recursive: true })\"",
    "postbuild": "tsc && pnpm -s copy",
    "test:chromium": "vitest run --project=chromium",
    "test:firefox": "vitest run --project=firefox",
    "test": "vitest run",
    "test:ci": "vitest run",
    "test:coverage": "vitest run --coverage",
    "test:ui": "vitest --ui --coverage",
    "bump-biome:latest": "pnpm add -DE @biomejs/biome@latest",
    "bump-biome:nightly": "pnpm add -DE @biomejs/biome@nightly",
    "benchmark": "node benchmarks/run.mjs",
    "benchmark:memory": "node benchmarks/prepare.mjs && vitest run --config vitest.tools.config.mjs --project=memory",
    "test:webkit": "vitest run --project=webkit",
    "test:wpt": "pnpm -s build && node compatibility/prepare.mjs && vitest run --config vitest.tools.config.mjs --project=wpt"
  }
}