kwest-body
v0.0.3 kwest body
kwest-body
Reads the body from a kwest kwest response and adds it as a body
property.
Installation
$ npm install --save kwest-body
Use
Just add the body middleware
var request = require('kwest'),
body = require('kwest-body');
request.use(body());
request('http://www.example.com')
.then(function (res) {
// now the response has a .body property
console.log(res.body);
})