0.0.3 • Published 9 years ago

kwest-body v0.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

kwest-body Build Status Dependency Status

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);
  })
0.0.3

9 years ago

0.0.2

10 years ago

0.0.1

10 years ago