{"name":"debugging-stream","version":"3.1.0","description":"Debug streams, by adding latency, speed etc","main":"index.js","dependencies":{"fast-fifo":"^1.3.2","streamx":"^2.20.2"},"author":{"name":"Mathias Buus"},"license":"MIT","devDependencies":{"speedometer":"^1.1.0"},"_id":"debugging-stream@3.1.0","gitHead":"71fec17d51c0e7d8a2eaa870997b8f53b1cd01d2","_nodeVersion":"20.11.1","_npmVersion":"10.7.0","dist":{"integrity":"sha512-WZw2HC1sz5CE0FhFHPsycN9HDDSNr9ytZGnEcYjWaP4dNzePS8EPnuiiQDmhMjQ6vE2K/X2UWoSTOAcCilprCw==","shasum":"a456645eeb18590e5c8753541daad6f0e9447d2e","tarball":"http://registry-npm.ywwl.com/debugging-stream/download/debugging-stream-3.1.0.tgz","fileCount":4,"unpackedSize":4701,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDbYpCs86Hkn9uPpZjUJR+M6HFPoQ7EpSM7AUTgq3RlfQIgScZhOOLOb8qVeJiwVdUT7UvXsO6Q6BvCASplUmGKRWY="}],"size":2095,"noattachment":false,"key":"/debugging-stream/-/debugging-stream-3.1.0.tgz"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"directories":{},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/debugging-stream_3.1.0_1731872435363_0.835629430618771"},"_hasShrinkwrap":false,"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":1731872435550,"_cnpm_publish_time":1731872435550,"dist-tags":{"latest":"3.1.0"}}