Repository URL to install this package:
Version:
2.0.11-8 ▾
|
.. |
index.js |
license |
package.json |
readme.md |
Check if something is a Node.js stream
$ npm install --save is-stream
const fs = require('fs'); const isStream = require('is-stream'); isStream(fs.createReadStream('unicorn.png')); //=> true isStream({}); //=> false
MIT © Sindre Sorhus