Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Web Streams #630

Open
seanaye opened this issue Nov 26, 2022 · 3 comments
Open

Support Web Streams #630

seanaye opened this issue Nov 26, 2022 · 3 comments

Comments

@seanaye
Copy link

seanaye commented Nov 26, 2022

It would be great to have support for the standardized Web Streams API. This would allow support in Browser, Deno, and with node:streams/web module

@danielgak
Copy link

danielgak commented Nov 23, 2023

Is there any update with this? Since AWS sdk also is moving to WebStreams I think to keep driving adoption of this package, it could be done.

As an alternative, you can transform a WebStrem into a Readeable/Writeable according to the docs using Readeable.fromWeb() and Writeable.fromWeb() that can be used as usual.

@AlwaysNoobCoder
Copy link

@danielgak fromWeb() means still in nodejs evnironment? the thing here is to support browser environment ?

@danielgak
Copy link

@danielgak fromWeb() means still in nodejs evnironment? the thing here is to support browser environment ?

I encountered this in a server side node application as you mentioned, and the solution that I shared worked for me. I do not know about he client side 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants