{"name":"is-stream-ended","version":"0.1.1","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":"369040786841cb160566fa2a20d33ff4f6c084b9","_id":"is-stream-ended@0.1.1","_shasum":"b5ee87fef3e88cf94f40cbaba7bb06768e168e41","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.8.0","_npmUser":{"name":"stephenplusplus","email":"sawchuk@gmail.com"},"dist":{"shasum":"b5ee87fef3e88cf94f40cbaba7bb06768e168e41","tarball":"http://registry-npm.ywwl.com/is-stream-ended/download/is-stream-ended-0.1.1.tgz","integrity":"sha512-yiu1K5x4dOrrH5BvNtf1lnjQNuyOSeEvkD/l0lPRSkyUTObrSx4fcS+KOIWtu0VrQmETkkCq1dFwRyjXvABBrA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG2GgRltCw6RcOXSIGceX5tFrSAbsgWVYuDKRtMVPaapAiAbKz7D+B24ncHJssu/Ef1it0YjjVQHl3JmnHLfDSoDzg=="}],"size":1891,"noattachment":false,"key":"/is-stream-ended/-/is-stream-ended-0.1.1.tgz"},"maintainers":[{"name":"stephenplusplus","email":"sawchuk@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/is-stream-ended-0.1.1.tgz_1493917809041_0.09534793999046087"},"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":1493917810107,"_cnpm_publish_time":1493917810107,"dist-tags":{"latest":"0.1.4"}}