{"name":"is-stream-ended","version":"0.1.3","description":"Check if a stream has ended","main":"index.js","dependencies":{},"devDependencies":{"mocha":"^2.2.5","through2":"^2.0.3"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/stephenplusplus/is-stream-ended.git"},"keywords":["stream","end","ended","consumed","complete"],"author":{"name":"Stephen Sawchuk","email":"sawchuk@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/stephenplusplus/is-stream-ended/issues"},"homepage":"https://github.com/stephenplusplus/is-stream-ended#readme","gitHead":"3091582f5b88f549f2d9b5a8fb13bf359a2c0909","_id":"is-stream-ended@0.1.3","_shasum":"a0473b267c756635486beedc7e3344e549d152ac","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.8.0","_npmUser":{"name":"stephenplusplus","email":"sawchuk@gmail.com"},"dist":{"shasum":"a0473b267c756635486beedc7e3344e549d152ac","tarball":"http://registry-npm.ywwl.com/is-stream-ended/download/is-stream-ended-0.1.3.tgz","integrity":"sha512-rRlnaeNfvzu2/7Oc6anNMKZgHXGD9uKddUw5Lq+IdBt6XMREyY3/TZNCLbq6xGYNXzqpC0XLsvYLODabV1Uwng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBIO75OFIIGw95qAinGiZpIe3Yr7IpfbYaYg+OYl1u/oAiA8Ahcuh6ie/JpstBb0nf3BywzX7LRy1x2dyo3ApfWZpw=="}],"size":1822,"noattachment":false,"key":"/is-stream-ended/-/is-stream-ended-0.1.3.tgz"},"maintainers":[{"name":"stephenplusplus","email":"sawchuk@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/is-stream-ended-0.1.3.tgz_1494016531327_0.8764913999475539"},"directories":{},"readme":"# is-stream-ended\n> Check if a stream has ended.\n\n```sh\n$ npm install --save is-stream-ended\n```\n```js\nvar isStreamEnded = require('is-stream-ended');\n\nisStreamEnded(stream); // false\nstream.end();\nisStreamEnded(stream); // true\n```\n\n### isStreamEnded(stream)\n\n#### stream\n\n- Type: `Stream`, `Object`\n\nProviding a stream will check against the `stream._readableState` object. To check from the `_writableState`, provide that object directly.\n","publish_time":1494016532626,"_cnpm_publish_time":1494016532626,"dist-tags":{"latest":"0.1.4"}}