Streamtest
JSON →Streamtest is a JavaScript library providing a robust set of utilities specifically designed for testing Node.js stream-based modules. It simplifies the creation of test input streams and the collection of output from streams under test. Developers can easily generate readable streams from arrays of data chunks or objects using methods like `fromChunks` and `fromObjects`, and then collect results from writable streams into promises that resolve with processed text, raw chunks, or objects via `toText`, `toChunks`, and `toObjects`. The current stable version is 4.0.0, and it primarily targets modern Node.js environments (v24.14.0+). Its key differentiator is providing a concise and intuitive API for stream testing, significantly reducing boilerplate compared to manually managing stream events and states, making it an ideal choice for projects with extensive stream processing logic.
Traffic · last 30 days ↑0% vs prev 7d
top countries 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada · 🇩🇪 Germany