Skip to content

package

mitm

v1.6.0

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.

node >= 0.10.242 depscjsopen source
license
Unknown
deps
2
unpacked
53.8 kB
files
14
node
>= 0.10.24
npm install mitm@1.6.0

README

GitHub-flavored package documentation.

markdown
downloads

Across all versions, last 30 days.

41,067weekly-19.0%

195,040 in 30 days

Oct 16 → Nov 14
compatibility

Runtime metadata.

node>= 0.10.24
cjs
keywords

Tagged topics.

httphttpsinterceptinterceptionmocknetworksockettcptestwebmock