UNPKG

sflow

Version:

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, fil

113 lines (112 loc) 3.62 kB
{ "name": "sflow", "version": "1.27.0", "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" }, "./fromNodeStream": { "import": "./dist/lib/from-node-stream.js", "types": "./src/lib/from-node-stream.ts" }, "./lib/from-node-stream": { "import": "./dist/lib/from-node-stream/index.js", "types": "./src/lib/from-node-stream/index.ts" }, "./lib/d3": { "import": "./dist/lib/d3/index.js", "types": "./src/lib/d3/index.ts" } }, "main": "./dist/index.js", "module": "./dist/index.js", "browser": "./dist/index.umd.js", "unpkg": "./dist/index.umd.js", "types": "./src/index.ts", "files": [ "src/*.ts", "dist" ], "scripts": { "dev": "bunx --bun tsc -w", "build": "rm -rf dist && run-p build:esm build:node build:d3 build:umd build:ts", "build:ts": "tsc", "build:node": "bun build src/lib/from-node-stream/index.ts --target=node --outdir=dist/lib/from-node-stream --sourcemap", "build:d3": "bun build src/lib/d3/index.ts --outdir=dist/lib/d3 --sourcemap", "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", "release": "bunx standard-version", "test": "bun test", "coverage": "bun test --coverage", "prepare": "bunx husky", "fmt": "biome check --fix --unsafe", "docs": "typedoc", "docs:watch": "typedoc --watch" }, "dependencies": { "@types/d3": "^7.4.3", "bson": "^6.8.0", "d3": "^7.9.0", "from-node-stream": "0.0.4", "npm-run-all": "^4.1.5", "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": { "@biomejs/biome": "^2.2.6", "@types/bun": "^1.1.6", "@types/jest": "^29.5.12", "@types/node": "^20.14.14", "bun": "^1.3.1", "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.28.14", "typescript": "^5.9.3", "vitest": "^3.2.4" }, "peerDependencies": { "rambda": "^9.2.1", "react-hook-form": "^7.52.2" }, "license": "MIT", "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" }, "sideEffects": false }