{"_id":"through-timeout","_rev":"3-13a3b353ec97e797265fa11939caa232","name":"through-timeout","description":"Through stream that calls a cb when no data has been written after the first x seconds","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"through-timeout","version":"1.0.0","license":"MIT","repository":{"type":"git","url":"git+https://github.com/juliangruber/through-timeout.git"},"description":"Through stream that calls a cb when no data has been written after the first x seconds","devDependencies":{"semistandard":"^8.0.0","tape":"^4.6.0"},"scripts":{"test":"tape test.js && semistandard"},"gitHead":"f53f54924b0e40483398de2d0b5efa6bc21ec53b","bugs":{"url":"https://github.com/juliangruber/through-timeout/issues"},"homepage":"https://github.com/juliangruber/through-timeout#readme","_id":"through-timeout@1.0.0","_shasum":"61b00929e6fb892e13fe04a5fd034d1430b0eedc","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.5","_npmUser":{"name":"juliangruber","email":"julian@juliangruber.com"},"dist":{"shasum":"61b00929e6fb892e13fe04a5fd034d1430b0eedc","tarball":"https://registry.npmjs.org/through-timeout/-/through-timeout-1.0.0.tgz","integrity":"sha512-7iIev1SQ6dDpgMGYaa1YrVPoi+AmvIV2nTj1H7r/0G9QtIgpW0dshIMNvCNdefGRfxEGg1lxspC50npRU/qfcQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBrz+4v+YskJaxPJDNwMQBw7BjlcJf3KsL/JpWyFVE0LAiEA5j58Sx8lJLJchas1p2is3xVd6kSSH1ad4XbIDhf0xKk="}]},"maintainers":[{"name":"juliangruber","email":"julian@juliangruber.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/through-timeout-1.0.0.tgz_1466443699429_0.2157511180266738"}}},"readme":"\n# through-timeout\n\nThrough stream that calls a cb when no data has been written after the first x seconds.\n\n## Example\n\n```js\nvar Timeout = require('through-timeout');\n\nsource\n.pipe(Timeout({\n  objectMode: true,\n  duration: 10000 \n}, function () {\n  // oh no!\n  source.destroy();  \n}))\n.pipe(destination);\n```\n\n## API\n\n### Timeout({ duration, objectMode=false }, cb)\n\n## License\n\nMIT\n","maintainers":[{"name":"juliangruber","email":"julian@juliangruber.com"}],"time":{"modified":"2022-06-27T06:24:31.764Z","created":"2016-06-20T17:28:22.063Z","1.0.0":"2016-06-20T17:28:22.063Z"},"homepage":"https://github.com/juliangruber/through-timeout#readme","repository":{"type":"git","url":"git+https://github.com/juliangruber/through-timeout.git"},"bugs":{"url":"https://github.com/juliangruber/through-timeout/issues"},"license":"MIT","readmeFilename":"README.md"}