Sha256: e21722c2559483d92dc18cd190cc0e28c0fabc895c979b202a5106f7a30768d0
Contents?: true
Size: 1.71 KB
Versions: 62
Compression:
Stored size: 1.71 KB
Contents
{ "name": "is-stream", "version": "1.0.1", "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": "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" }, "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](http://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\nvar fs = require('fs');\nvar 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\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n", "readmeFilename": "readme.md", "bugs": { "url": "https://github.com/sindresorhus/is-stream/issues" }, "homepage": "https://github.com/sindresorhus/is-stream#readme", "_id": "is-stream@1.0.1", "_shasum": "b44ce45b1f0c3df583f6b5debf84dcf9743ac8b5", "_resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.0.1.tgz", "_from": "is-stream@>=1.0.0 <2.0.0" }
Version data entries
62 entries across 62 versions & 1 rubygems