You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is still potentially useful for projects like https://github.com/isomorphic-git/lightning-fs , which are trying to ponyfill out a Node.js fs implementation from within the browser.
AFAIK there's no way to use any Node.js code in the browser. It'd be awesome if some of the Node.js JS implementations were available as standalone modules via npm.
@jimmywarting this module is helpful for browser bundler such as webpack because module "readable-stream" has not yet implemented the latest Readable Nodejs API.
stream.Readable.fromWeb is experimental and it could change between node version changes. This project provides a stable interface to it that you don't have to worry about when changing between node versions.
stream.Readable.fromWeb(readableStream[, options])
https://nodejs.org/dist/latest-v18.x/docs/api/stream.html#streamreadablefromwebreadablestream-options
The text was updated successfully, but these errors were encountered: