{
  "name": "sflow",
  "version": "1.20.2",
  "description": "sflow is a powerful and highly-extensible library designed for processing and manipulating streams of data effortlessly. Inspired by the functional programming paradigm, it provides a rich set of utilities for transforming streams, including chunking, filtering, mapping, reducing, among many others. It's a perfect companion for those who work extensively with streams and want to make their data processing pipelines more efficient and concise.",
  "keywords": [
    "browser",
    "bun",
    "functional",
    "kernel",
    "node",
    "pipe-through",
    "sflow",
    "snoflow",
    "stream",
    "transform",
    "web-stream",
    "webstream"
  ],
  "author": "snomiao <snomiao@gmail.com>",
  "type": "module",
  "exports": {
    ".": {
      "import": "./dist/index.js",
      "types": "./dist/index.d.ts"
    },
    "./ts": {
      "import": "./src/index.ts",
      "types": "./src/index.ts"
    },
    "./fromNodeStream": {
      "import": "./dist/fromNodeStream.js",
      "types": "./dist/fromNodeStream.d.ts"
    },
    "./fromNodeStream/ts": {
      "import": "./src/fromNodeStream.ts",
      "types": "./src/fromNodeStream.ts"
    }
  },
  "module": "index.ts",
  "types": "./dist/index.d.ts",
  "files": [
    "./src/*.ts",
    "dist"
  ],
  "scripts": {
    "dev": "bunx --bun tsc -w --noEmit --declaration false --emitDeclarationOnly false",
    "build": "rm -rf dist && bun build:tsc && bun build:esm && bun build:node && bun build:umd",
    "build:node": "bun build src/fromNodeStream.ts --target=node --outdir=dist",
    "build:esm": "bun build src/index.ts --outdir=dist --packages=external --sourcemap=external",
    "build:umd": "bun build src/index.ts --outfile=dist/index.umd.js && bunx rollup dist/index.umd.js --file=dist/index.umd.js --format=umd --name sflow",
    "build:tsc": "tsc",
    "prerelease": "bun run build && bun run test",
    "release": "bunx standard-version && git push --follow-tags && npm publish",
    "test": "bun test",
    "vitest": "bunx vitest --globals",
    "prepare": "bunx husky"
  },
  "dependencies": {
    "@types/d3": "^7.4.3",
    "bson": "^6.8.0",
    "d3": "^7.9.0",
    "from-node-stream": "0.0.4",
    "phpdie": "^1.2.12",
    "polyfill-text-decoder-stream": "0.0.10",
    "polyfill-text-encoder-stream": "^0.0.9",
    "rambda": "^9.2.1",
    "string-replace-async": "^3.0.2",
    "ts-essentials": "^10.1.1",
    "unwind-array": "^1.1.4",
    "web-streams-extensions": "^0.12.0"
  },
  "devDependencies": {
    "@types/bun": "^1.1.6",
    "@types/jest": "^29.5.12",
    "@types/node": "^20.14.14",
    "expect-type": "^0.19.0",
    "husky": "^9.1.7",
    "keyv": "^4.5.4",
    "keyv-cached-with": "^0.0.17",
    "peek-log": "^0.0.11",
    "proxy-deep": "^4.0.1",
    "semantic-release": "^24.2.0",
    "ts-pattern": "^5.2.0",
    "ts-toolbelt": "^9.6.0",
    "typedoc": "^0.27.0",
    "typescript": "^5.0.0"
  },
  "peerDependencies": {
    "rambda": "^9.2.1",
    "react-hook-form": "^7.52.2",
    "typescript": "^5.0.0"
  },
  "license": "MIT",
  "main": "index.ts",
  "homepage": "https://github.com/snomiao/sflow#readme",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/snomiao/sflow"
  },
  "bugs": {
    "url": "https://github.com/snomiao/sflow/issues"
  }
}
