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
95 lines (94 loc) • 2.93 kB
JSON
{
"name": "sflow",
"version": "1.24.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": "./src/index.ts"
},
"./fromNodeStream": {
"import": "./dist/fromNodeStream.js",
"types": "./src/fromNodeStream.ts"
}
},
"main": "./dist/index.js",
"module": "./src/index.ts",
"types": "./src/index.ts",
"files": [
"src/*.ts",
"dist"
],
"scripts": {
"dev": "bunx --bun tsc -w",
"build": "rm -rf dist && 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",
"test": "vitest",
"buntest": "bun test --coverage",
"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",
"vitest": "^3.2.4"
},
"peerDependencies": {
"rambda": "^9.2.1",
"react-hook-form": "^7.52.2",
"typescript": "^5.0.0"
},
"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
}