mitm

v1.7.3

Intercept and mock outgoing 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. Useful when testing code that hits remote servers.


npm install mitm
Bundle size
Dependencies
Dependencies(1)

Peer Dependencies(0)

    Dev Dependencies(4)

    Source code on GitHub