Skip to content
New issue

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

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

Already on GitHub? # to your account

Add node.js compat streams split2 example #597

Merged
merged 1 commit into from
May 4, 2023

Conversation

jasnell
Copy link
Member

@jasnell jasnell commented May 2, 2023

The split2 module is downloaded over 13 million times per week and has over 1000 dependent modules. It is a good example of a simple utility that previously could not be run within workers without also bundling a complex and large polyfill of the streams API. Now, however, it can be run directly within a worker without any modifications and without any additional polyfills.

@jasnell jasnell requested review from byule and irvinebroque May 2, 2023 19:48
The split2 module is downloaded over 13 million times per week
and has over 1000 dependent modules. It is a good example of a
simple utility that previously could not be run within workers
without also bundling a complex and large polyfill of the streams
API. Now, however, it can be run directly within a worker without
any modifications and without any additional polyfills.
@jasnell jasnell force-pushed the jsnell/add-nodejs-compat-streams-split2-example branch from 015043f to 0e9df21 Compare May 4, 2023 14:21
@jasnell jasnell merged commit b2954ef into main May 4, 2023
@fhanau fhanau deleted the jsnell/add-nodejs-compat-streams-split2-example branch December 4, 2023 22:18
@fhanau fhanau restored the jsnell/add-nodejs-compat-streams-split2-example branch December 4, 2023 22:18
@fhanau fhanau deleted the jsnell/add-nodejs-compat-streams-split2-example branch December 4, 2023 22:18
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants