moll

moll/node-mitm

Intercept and mock outgoing Node.js network TCP connections and HTTP requests for testing. Intercepts and gives you a Net.Socket, Http.IncomingMessage and Http.ServerResponse to test and respond with. Super useful when testing code that hits remote servers.

JavaScript
658
50
Other

Moll’s `mitm` library lets Node.js developers transparently intercept and mock outbound TCP sockets and HTTP(S) requests during tests, handing them raw `Net.Socket`, `IncomingMessage` and `ServerResponse` objects to validate request parameters or craft custom responses without touching external servers. It’s aimed at engineers who need fast, in‑process network‑level mocking for unit or integration tests of Node.js code.

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

moll's profile
moll
180 contributions
papandreou's profile
papandreou
7 contributions
alexkwolfe's profile
alexkwolfe
1 contributions
indrek-rajamets's profile
indrek-rajamets
1 contributions
mcaruso85's profile
mcaruso85
1 contributions
defunctzombie's profile
defunctzombie
1 contributions
SimenB's profile
SimenB
1 contributions

Recent events

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

No events yet