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

Add toWeb/fromWeb methods #80

Closed
luiscastro193 opened this issue Sep 14, 2023 · 4 comments
Closed

Add toWeb/fromWeb methods #80

luiscastro193 opened this issue Sep 14, 2023 · 4 comments

Comments

@luiscastro193
Copy link

As requested in mafintosh/tar-stream#157, it would be nice to have toWeb and fromWeb methods similar to Node's streams so we can interact with browser's APIs.

@zacharygriffee
Copy link

zacharygriffee commented Dec 8, 2023

+1 This would make passing data between webworkers with streamx streams a lot easier. Cause web readable stream is transferable.

@zacharygriffee
Copy link

zacharygriffee commented Dec 14, 2023

Just created a repo for a toWeb/fromWeb .... but object mode isn't supported... yet.

https://www.npmjs.com/package/streamx-webstream

@luiscastro193
Copy link
Author

Looks cool, thanks! I will give it a try.

@luiscastro193
Copy link
Author

It works like a charm. I guess this fixes the issue. Thanks again!

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

2 participants