UNPKG

@zkochan/pnpm

Version:

Fast, disk space efficient package manager

119 lines (118 loc) 3.79 kB
{ "_args": [ [ { "raw": "into-stream@^3.1.0", "scope": null, "escapedName": "into-stream", "name": "into-stream", "rawSpec": "^3.1.0", "spec": ">=3.1.0 <4.0.0", "type": "range" }, "/home/zkochan/src/pnpm/packages/pnpm/node_modules/got" ] ], "_from": "into-stream@>=3.1.0 <4.0.0", "_id": "into-stream@3.1.0", "_inCache": true, "_location": "/into-stream", "_nodeVersion": "4.6.2", "_npmOperationalInternal": { "host": "packages-18-east.internal.npmjs.com", "tmp": "tmp/into-stream-3.1.0.tgz_1480406947546_0.3577207559719682" }, "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "_npmVersion": "2.15.11", "_phantomChildren": {}, "_requested": { "raw": "into-stream@^3.1.0", "scope": null, "escapedName": "into-stream", "name": "into-stream", "rawSpec": "^3.1.0", "spec": ">=3.1.0 <4.0.0", "type": "range" }, "_requiredBy": [ "/got" ], "_resolved": "https://registry.npmjs.org/into-stream/-/into-stream-3.1.0.tgz", "_shasum": "96fb0a936c12babd6ff1752a17d05616abd094c6", "_shrinkwrap": null, "_spec": "into-stream@^3.1.0", "_where": "/home/zkochan/src/pnpm/packages/pnpm/node_modules/got", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "bugs": { "url": "https://github.com/sindresorhus/into-stream/issues" }, "dependencies": { "from2": "^2.1.1", "p-is-promise": "^1.1.0" }, "description": "Convert a buffer/string/array/object/iterable/promise into a stream", "devDependencies": { "ava": "*", "get-stream": "^3.0.0", "xo": "*" }, "directories": {}, "dist": { "shasum": "96fb0a936c12babd6ff1752a17d05616abd094c6", "tarball": "https://registry.npmjs.org/into-stream/-/into-stream-3.1.0.tgz" }, "engines": { "node": ">=4" }, "files": [ "index.js" ], "gitHead": "0d751e2b2063c1938b9dd78c3cc2c6ac55f798dc", "homepage": "https://github.com/sindresorhus/into-stream#readme", "keywords": [ "stream", "buffer", "string", "object", "array", "iterable", "promise", "promises", "from", "into", "to", "transform", "convert", "readable", "pull", "gulpfriendly", "value", "str" ], "license": "MIT", "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "name": "into-stream", "optionalDependencies": {}, "readme": "# into-stream [![Build Status](https://travis-ci.org/sindresorhus/into-stream.svg?branch=master)](https://travis-ci.org/sindresorhus/into-stream)\n\n> Convert a buffer/string/array/object/iterable/promise into a stream\n\nCorrectly chunks up the input and handles backpressure.\n\n\n## Install\n\n```\n$ npm install --save into-stream\n```\n\n\n## Usage\n\n```js\nconst intoStream = require('into-stream');\n\nintoStream('unicorn').pipe(process.stdout);\n//=> 'unicorn'\n```\n\n\n## API\n\n### intoStream(input)\n\nType: `Buffer` `string` `Iterable<Buffer|string>` `Promise`<br>\nReturns: [Readable stream](https://nodejs.org/api/stream.html#stream_class_stream_readable)\n\nAdheres to the requested chunk size, except for `array` where each element will be a chunk.\n\n### intoStream.obj(input)\n\nType: `Object`, `Iterable<Object>` `Promise`<br>\nReturns: [Readable object stream](https://nodejs.org/api/stream.html#stream_object_mode)\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n", "readmeFilename": "readme.md", "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/into-stream.git" }, "scripts": { "test": "xo && ava" }, "version": "3.1.0" }