caitp

caitp/node-mock-stdin

Mock STDIN file descriptor in Node.js

JavaScript
68
4
MIT License

This Node.js module provides a mock STDIN file descriptor for testing interactive CLI applications. It replaces `process.stdin` with a mock object that exposes a `send` method, allowing developers to simulate user input and test how their applications handle standard input. The module is primarily designed for developers writing unit tests for command-line interfaces in Node.js.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

caitp's profile
caitp
52 contributions
nonara's profile
nonara
2 contributions
G-Rath's profile
G-Rath
2 contributions
mxl's profile
mxl
1 contributions
tbremer's profile
tbremer
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet