Stream Equal

JSON →
library 2.0.1 ·javascript
verified May 27, 2026

Stream Equal is a Node.js utility package designed to test if two readable streams emit the exact same data. The package is currently stable at version 2.0.1, with recent updates indicating active maintenance, including a fix for CommonJS imports. It operates by comparing streams chunk-by-chunk, pausing them as needed to keep them synchronized. This method is highlighted as being more efficient in terms of memory and CPU usage for large files compared to buffering entire stream contents or computing cryptographic hashes, especially when the streams are not equal. Its primary application is in testing scenarios where stream content verification is crucial, offering a performance-optimized alternative to traditional comparison methods.

total hits 17
actors 7 distinct systems
last hit 1d ago human
GPTBot
5
MetaBot
4
Script
1
ClaudeBot
1
Search engines
2
Humans
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France