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
108 lines (107 loc) • 3.28 kB
JSON
{
"name": "sflow",
"version": "1.28.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"
},
"./fromNodeStream": {
"import": "./dist/lib/from-node-stream.js",
"types": "./dist/lib/from-node-stream.d.ts"
},
"./lib/from-node-stream": {
"import": "./dist/lib/from-node-stream/index.js",
"types": "./dist/lib/from-node-stream/index.d.ts"
},
"./lib/d3": {
"import": "./dist/lib/d3/index.js",
"types": "./dist/lib/d3/index.d.ts"
}
},
"main": "./dist/index.js",
"module": "./dist/index.js",
"browser": "./dist/index.umd.js",
"unpkg": "./dist/index.umd.js",
"types": "./dist/index.d.ts",
"files": [
"src/*.ts",
"dist"
],
"scripts": {
"dev": "tsdown --watch",
"build": "tsdown && npm run build:umd",
"build:umd": "tsdown src/index.ts --format iife --globalName sflow --outDir dist --dts false --sourcemap false --clean false && mv dist/index.iife.js dist/index.umd.js",
"release": "bunx standard-version",
"test": "bun test",
"coverage": "bun test --coverage",
"prepare": "bunx husky",
"fmt": "oxlint --fix src",
"lint": "oxlint src",
"docs": "typedoc",
"docs:watch": "typedoc --watch"
},
"dependencies": {
"d3-dsv": "^3.0.1",
"from-node-stream": "0.2.0",
"phpdie": "^1.7.0",
"string-replace-async": "^3.0.2",
"unwind-array": "^1.1.4",
"web-streams-extensions": "^1.2.1"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/bun": "^1.3.11",
"@types/d3-dsv": "^3.0.7",
"@types/jest": "^30.0.0",
"@types/node": "^25.5.0",
"@typescript/native-preview": "^7.0.0-dev.20260319.1",
"bson": "^7.2.0",
"bun": "^1.3.11",
"expect-type": "^1.3.0",
"husky": "^9.1.7",
"keyv": "^5.6.0",
"keyv-cached-with": "^0.0.20",
"npm-run-all": "^4.1.5",
"oxc": "^1.0.1",
"oxlint": "^1.56.0",
"peek-log": "^0.0.12",
"proxy-deep": "^4.0.1",
"semantic-release": "^25.0.3",
"ts-essentials": "^10.1.1",
"ts-pattern": "^5.9.0",
"ts-toolbelt": "^9.6.0",
"tsdown": "^0.21.4",
"typedoc": "^0.28.17",
"vitest": "^4.1.0"
},
"peerDependencies": {},
"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
}