{"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"keywords":["stream","type","streams","writable","readable","duplex","transform","check","detect","is"],"dist-tags":{"latest":"1.1.0"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"description":"Check if something is a Node.js stream","readme":"# is-stream [![Build Status](https://travis-ci.org/sindresorhus/is-stream.svg?branch=master)](https://travis-ci.org/sindresorhus/is-stream)\n\n> Check if something is a [Node.js stream](https://nodejs.org/api/stream.html)\n\n\n## Install\n\n```\n$ npm install --save is-stream\n```\n\n\n## Usage\n\n```js\nconst fs = require('fs');\nconst isStream = require('is-stream');\n\nisStream(fs.createReadStream('unicorn.png'));\n//=> true\n\nisStream({});\n//=> false\n```\n\n\n## API\n\n### isStream(stream)\n\n#### isStream.writable(stream)\n\n#### isStream.readable(stream)\n\n#### isStream.duplex(stream)\n\n#### isStream.transform(stream)\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n","repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-stream.git"},"users":{"waynedpj":true,"monjer":true,"rocket0191":true,"nicknaso":true},"bugs":{"url":"https://github.com/sindresorhus/is-stream/issues"},"license":"MIT","versions":{"1.0.0":{"name":"is-stream","version":"1.0.0","description":"Check if something is a Node.js stream","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/is-stream"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["stream","streams","writable","readable","duplex","check","detect","is","type"],"devDependencies":{"ava":"0.0.4","tempfile":"^1.1.0"},"gitHead":"a5327fd78cff686b4a9e32e676e179b620fa748b","bugs":{"url":"https://github.com/sindresorhus/is-stream/issues"},"homepage":"https://github.com/sindresorhus/is-stream","_id":"is-stream@1.0.0","_shasum":"aa0ce914e0e917064222acf7ddf6140d718865d7","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"aa0ce914e0e917064222acf7ddf6140d718865d7","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/is-stream/-/is-stream-1.0.0.tgz"},"directories":{}},"1.0.1":{"name":"is-stream","version":"1.0.1","description":"Check if something is a Node.js stream","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/is-stream"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["stream","streams","writable","readable","duplex","check","detect","is","type"],"devDependencies":{"ava":"0.0.4","tempfile":"^1.1.0"},"gitHead":"424a6904c768f5f446fbc36c03a31be8b1209ca6","bugs":{"url":"https://github.com/sindresorhus/is-stream/issues"},"homepage":"https://github.com/sindresorhus/is-stream","_id":"is-stream@1.0.1","_shasum":"b44ce45b1f0c3df583f6b5debf84dcf9743ac8b5","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"b44ce45b1f0c3df583f6b5debf84dcf9743ac8b5","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/is-stream/-/is-stream-1.0.1.tgz"},"directories":{}},"1.1.0":{"name":"is-stream","version":"1.1.0","description":"Check if something is a Node.js stream","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-stream.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["stream","type","streams","writable","readable","duplex","transform","check","detect","is"],"devDependencies":{"ava":"*","tempfile":"^1.1.0","xo":"*"},"gitHead":"e21d73f1028c189d16150cea52641059b0936310","bugs":{"url":"https://github.com/sindresorhus/is-stream/issues"},"homepage":"https://github.com/sindresorhus/is-stream#readme","_id":"is-stream@1.1.0","_shasum":"12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44","_from":".","_npmVersion":"2.15.0","_nodeVersion":"4.4.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/is-stream/-/is-stream-1.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/is-stream-1.1.0.tgz_1460446915184_0.806101513793692"},"directories":{}}},"name":"is-stream","time":{"modified":"2017-05-21T10:45:15.848Z","created":"2015-01-18T18:59:27.432Z","1.0.0":"2015-01-18T18:59:27.432Z","1.0.1":"2015-01-19T12:39:43.945Z","1.1.0":"2016-04-12T07:41:55.666Z"},"readmeFilename":"readme.md","homepage":"https://github.com/sindresorhus/is-stream#readme"}