{"name":"debugging-stream","version":"3.0.0","author":{"name":"Mathias Buus"},"license":"MIT","_id":"debugging-stream@3.0.0","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"dist":{"shasum":"7b6ae60f3e26d4f80b5e0ffc9c05d266cc8d8361","tarball":"http://registry-npm.ywwl.com/debugging-stream/download/debugging-stream-3.0.0.tgz","fileCount":4,"integrity":"sha512-L44gZaqZPnme2XuQ/Zj928QShQNgE6UaPvx+XReeA+6Lm2SDOUyno2d30f2LjilZGPGfvNuRYqcd/BuT9gN5TQ==","signatures":[{"sig":"MEUCIAx9UUf8vXmdYJ1RxoervEaaL3bH9QpGNPdcjLMUY88+AiEAmlALAq9vnV7g1HGJYuvQHBvJtyViLu9nHF2b5QOkPxs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4512,"size":2058,"noattachment":false,"key":"/debugging-stream/-/debugging-stream-3.0.0.tgz"},"main":"index.js","gitHead":"9aa95288dabd3671fc05e9cd1057e0d045383936","_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.0_1731861698018_0.3849038183490048","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":1731861698182,"_cnpm_publish_time":1731861698182,"dist-tags":{"latest":"3.1.0"}}