Repository navigation
stream: add bytes() method to stream/consumers - #60426
Merged
nodejs-github-bot merged 5 commits intoJan 29, 2026
Merged
Conversation
Collaborator
|
Review requested:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #60426 +/- ##
==========================================
+ Coverage 88.58% 89.79% +1.21%
==========================================
Files 704 673 -31
Lines 207823 203830 -3993
Branches 40049 39174 -875
==========================================
- Hits 184101 183037 -1064
+ Misses 15772 13140 -2632
+ Partials 7950 7653 -297
🚀 New features to boost your workflow:
|
- Add bytes() method to get Uint8Array from streams - Add tests for bytes() method in PassThrough and ObjectMode scenarios - Update documentation Fixes: #59542
Renegade334
reviewed
Oct 30, 2025
stream: add bytes() method to stream/consumers
Add a
bytes()method to thestream/consumersmodule that returns a Uint8Array, providing a convenient way to consume streams as typed arrays.Fixes: #59542