{"library":"node-web-stream-adapters","type":"library","category":null,"description":"This package provides utilities to convert Node.js `Readable` and `Writable` streams into Web `ReadableStream` and `WritableStream` objects, and vice-versa. It aims to bridge the gap between Node.js's native stream API and the WHATWG Web Streams API, offering stable conversion functions. This is particularly useful because Node.js's own `Readable.toWeb`, `Writable.toWeb`, `Readable.fromWeb`, and `Writable.fromWeb` methods are marked as experimental as of Node.js version 22. The package is currently at version 0.2.1, indicating an early development stage, though it addresses a stable need. It is likely maintained as needed to keep pace with Node.js and Web Streams API evolutions. Key differentiators include providing a non-experimental, stable API surface for stream conversion.","language":"javascript","status":"active","version":"0.2.1","tags":["javascript","ReadableStream","WritableStream","stream","Readable","Writable","node","web","adapter","typescript"],"install":[{"cmd":"npm install node-web-stream-adapters","imports":["import { toReadableStream } from 'node-web-stream-adapters';","import { createReadableStreamFromReadable } from 'node-web-stream-adapters';","import { createReadableStreamFromBuffer } from 'node-web-stream-adapters';"]},{"cmd":"yarn add node-web-stream-adapters","imports":[]},{"cmd":"pnpm add node-web-stream-adapters","imports":[]}],"homepage":null,"github":"https://github.com/bstefanescu/node-readable-stream","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/node-web-stream-adapters","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/node-web-stream-adapters/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}