mitm-record (npm): 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.
Keywords: http|https|intercept|interception|mock|network|socket|tcp|test|webmock