{"name":"debugging-stream","version":"3.0.1","author":{"name":"Mathias Buus"},"license":"MIT","_id":"debugging-stream@3.0.1","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"dist":{"shasum":"1f603fb570b5c94d102ca6bc99128542893c7e78","tarball":"http://registry-npm.ywwl.com/debugging-stream/download/debugging-stream-3.0.1.tgz","fileCount":4,"integrity":"sha512-u/febVcz3FSuYse+acCsNI5EGQ8rdG3e7Nvs8Qavp1fH01qdkI8UsiUYQWprZE/bJDtFvbaxLRMMzc5EyL+Ccg==","signatures":[{"sig":"MEUCIQC3ezojBwEP/rF7Y26Giwk0kTBHGoV4TMtPgmXSYiDpqAIgMIqr44txbVm1PjoQrE8/C4aeL9Wdco1x/+eIqA2Jd4U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4571,"size":2067,"noattachment":false,"key":"/debugging-stream/-/debugging-stream-3.0.1.tgz"},"main":"index.js","gitHead":"4f820c1f8fea0987855740a50dabb426c8b15a41","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"_npmVersion":"10.7.0","description":"Debug streams, by adding latency, speed etc","directories":{},"_nodeVersion":"20.11.1","dependencies":{"streamx":"^2.20.2","fast-fifo":"^1.3.2"},"_hasShrinkwrap":false,"devDependencies":{"speedometer":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/debugging-stream_3.0.1_1731871446621_0.8849313082510011","host":"s3://npm-registry-packages"},"readme":"# debugging-stream\n\nStream that helps you debug streams\n\n```\nnpm install debugging-stream\n```\n\n## Usage\n\n``` js\nconst DebuggingStream = require('debugging-stream')\n\nconst s = new DebuggingStream(anotherStream, {\n  latency: 100, // add between 100ms read/write latency,\n  jitter: 10, // add 0-10 ms of jitter to the latency\n  speed: 100, // send 100 bytes per sec\n  writeSpeed, // same as speed but only affects writes\n  readSpeed // same as speed but only affects reads\n})\n```\n\n## License\n\nMIT\n","publish_time":1731871446778,"_cnpm_publish_time":1731871446778,"dist-tags":{"latest":"3.1.0"}}