mock-response
v3.2.2
Published
Response renderer
Downloads
12
Readme
mock-response
Response renderer
Installation
npm install mock-response
Usage
var Response = require('mock-response');
var response = new Response('./test/fixtures/deal/26701138.GET.json');
// response.status => 200
// response.body =>
// {
// "hello": "world"
// }
For more info, see docs.
License
MIT