mute-stream is a small, dependency-free Node.js module that provides a simple way to mute and unmute streams (like stdout and stderr). This is invaluable for testing command-line applications or scenarios where you need to temporarily suppress output. It features methods to temporarily silence the stream, restore the original stream, and inspect if the stream is muted. It helps prevent test output from interfering with results.
The npm package mute-stream has sporadic releases. Initial releases (0.0.x) occurred between July 2012 and December 2018. Version 1.0.0 was released in December 2022, and version 2.0.0 in September 2024. No releases have occurred in 2025 as of August 30th. The releases are infrequent with long periods of inactivity.
Mute-stream downloads show a generally increasing trend from March 2024 to August 2025. There's a notable surge in downloads in mid-2025, peaking in July at over 212 million. August 2025 downloads are lower than July but high if compared with the rest of the months. The year 2025 shows more downloads than the previous year.