Skip to content

Commit

Permalink
Tweak description.
Browse files Browse the repository at this point in the history
  • Loading branch information
moll committed May 19, 2014
1 parent cef5cba commit a486f37
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ Mitm.js
[npm-badge]: https://badge.fury.io/js/mitm.png
[travis-badge]: https://travis-ci.org/moll/node-mitm.png?branch=master

Mitm.js is a library for Node.js to **intercept and mock** network **TCP** and
**HTTP** connections. Mitm.js intercepts and gives you a `Net.Socket` to
communicate as if you were the remote server. For **HTTP requests** it even
gives you `Http.IncomingMessage` and `Http.ServerResponse` — just like you're
used to when writing Node.js servers. Except there's no actual server running,
it's all just _In-Process Interception™_.
Mitm.js is a library for Node.js to **intercept and mock** outgoing network
**TCP** and **HTTP** connections. Mitm.js intercepts and gives you
a `Net.Socket` to communicate as if you were the remote server. For **HTTP
requests** it even gives you `Http.IncomingMessage` and `Http.ServerResponse`
— just like you're used to when writing Node.js servers. Except there's no
actual server running, it's all just _In-Process Interception™_.

Intercepting connections and requests is **extremely useful to test and ensure
your code does what you expect**. Assert on request parameters and send back
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mitm",
"version": "0.4.1",
"description": "Intercept and mock network TCP connections and HTTP requests. Intercepts and gives you vanilla Net.Socket, Http.IncomingMessage and Http.ServerResponse to assert on and respond with. Small, fast and simple. Super useful when testing code that hits remote servers.",
"description": "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",
Expand Down

0 comments on commit a486f37

Please sign in to comment.