{"name":"into-stream","version":"9.0.0","keywords":["stream","buffer","string","object","array","iterable","async","asynciterable","promise","promises","from","into","to","transform","convert","readable","pull","gulpfriendly","value"],"author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"into-stream@9.0.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/into-stream#readme","bugs":{"url":"https://github.com/sindresorhus/into-stream/issues"},"dist":{"shasum":"5e2279f8e9180d08cc5642d47adbba17db4b1a0f","tarball":"http://registry-npm.ywwl.com/into-stream/download/into-stream-9.0.0.tgz","fileCount":5,"integrity":"sha512-0cHFlRvRr8nxUf0kipkPQSYQ3WCrwG95zX76o9S2Vdmw02ZFh3oD3qsVv9vVTzD0hA96sXS414UfxeYh35yTrg==","signatures":[{"sig":"MEYCIQCz/xOrrSR4Wkq+JZetS3g7kKkApkz2p1uY9PQET5KdGAIhAJVJG0AHu1hkYQUXW3Dj/txQal0pRZWeFJBl046ZPpwX","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6102,"size":2606,"noattachment":false,"key":"/into-stream/-/into-stream-9.0.0.tgz"},"type":"module","types":"./index.d.ts","engines":{"node":">=20"},"exports":{"types":"./index.d.ts","default":"./index.js"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"8ff5caf44c18f87b1008325b5c65456d351b3772","scripts":{"test":"xo && ava && tsd"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/into-stream.git","type":"git"},"_npmVersion":"10.9.2","description":"Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream","directories":{},"sideEffects":false,"_nodeVersion":"20.19.1","_hasShrinkwrap":false,"devDependencies":{"xo":"^1.2.2","ava":"^6.4.1","tsd":"^0.33.0","p-event":"^6.0.1","get-stream":"^9.0.1","@types/node":"^24.3.1"},"_npmOperationalInternal":{"tmp":"tmp/into-stream_9.0.0_1757456418766_0.4341387346194152","host":"s3://npm-registry-packages-npm-production"},"readme":"# into-stream\n\n> Convert a string/promise/array/iterable/asynciterable/uint8array/typedarray/arraybuffer/readablestream/object into a stream\n\nCorrectly handles backpressure.\n\n## Install\n\n```sh\nnpm install into-stream\n```\n\n## Usage\n\n```js\nimport intoStream from 'into-stream';\n\nintoStream('unicorn').pipe(process.stdout);\n//=> 'unicorn'\n```\n\n## API\n\n### intoStream(input)\n\nType: `Uint8Array | TypedArray | ArrayBuffer | string | Iterable<string | Uint8Array | TypedArray> | AsyncIterable<string | Uint8Array | TypedArray> | ReadableStream | Promise`\\\nReturns: [Readable stream](https://nodejs.org/api/stream.html#class-streamreadable)\n\n### intoStream.object(input)\n\nType: `object | Iterable<object> | AsyncIterable<object> | Promise`\\\nReturns: [Readable object stream](https://nodejs.org/api/stream.html#object-mode)\n\n## Limitations\n\nThe streams returned by this package cannot be used with the `stdio` option of Node.js [`child_process`](https://nodejs.org/api/child_process.html) methods. Use [`fs.createReadStream()`](https://nodejs.org/api/fs.html#fscreatereadstreampath-options) instead.\n\n## Related\n\n- [to-readable-stream](https://github.com/sindresorhus/to-readable-stream) - Simpler version of this package\n- [get-stream](https://github.com/sindresorhus/get-stream) - The opposite of this package\n","publish_time":1757456418994,"_cnpm_publish_time":1757456418994,"dist-tags":{"latest":"9.1.0"}}