{"name":"into-stream","version":"9.1.0","description":"Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/into-stream.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=20"},"scripts":{"test":"xo && ava && tsd"},"keywords":["stream","buffer","string","object","array","iterable","async","asynciterable","promise","promises","from","into","to","transform","convert","readable","pull","gulpfriendly","value"],"devDependencies":{"@types/node":"^24.3.1","ava":"^6.4.1","get-stream":"^9.0.1","p-event":"^6.0.1","tsd":"^0.33.0","xo":"^1.2.2"},"gitHead":"659c5edf708f1e9011a5ed82425a7263e8bbe706","types":"./index.d.ts","_id":"into-stream@9.1.0","bugs":{"url":"https://github.com/sindresorhus/into-stream/issues"},"homepage":"https://github.com/sindresorhus/into-stream#readme","_nodeVersion":"25.3.0","_npmVersion":"11.7.0","dist":{"integrity":"sha512-DRsRnQrbzdFjaQ1oe4C6/EIUymIOEix1qROEJTF9dbMq+M4Zrm6VaLp6SD/B9IsiEjPZuBSnWWFN+udajugdWA==","shasum":"3d49f8dc3aa44c9d5e6007cc07831388542a1326","tarball":"http://registry-npm.ywwl.com/into-stream/download/into-stream-9.1.0.tgz","fileCount":5,"unpackedSize":6152,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDbK1KFUwzxOvPqm0gd9z8FMZg5ivRTMTpVEaK0qTw5IgIhAK95lKOxwmYas+tDSxbRPINGfZefToXbk1zvdnClui6g"}],"size":2601,"noattachment":false,"key":"/into-stream/-/into-stream-9.1.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/into-stream_9.1.0_1770018335969_0.2575085277429692"},"_hasShrinkwrap":false,"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":1770018336095,"_cnpm_publish_time":1770018336095,"dist-tags":{"latest":"9.1.0"}}