The stdin-discarder npm package saw initial activity in July 2022 with version 0.1.0. After a period of inactivity, there were two releases in December 2023 (0.2.0, 0.2.1) and one in January 2024 (0.2.2). Since then, there have been no further releases up to September 2025 based on the provided data.
Stdin-discarder npm package downloads show a strong upward trend from March 2024 (4.2M) to August 2025 (22.5M). September 2025 downloads are at 10.2M, but the month is not yet complete, and the count could change significantly.
stdin-discarder is a lightweight npm package designed to consume and discard any data sent to the standard input (stdin) stream. This is useful for preventing processes from hanging while waiting for input when running in automated environments or scenarios where user interaction is not expected. It effectively mutes stdin, ensuring that unresponsive programs continue execution without interruption from lingering input streams. Easy to implement and highly effective for cleaning up potentially problematic input behaviors.