🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

kwest-body

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kwest-body

Reads the body from a kwest response.

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

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

Keywords

kwest

FAQs

Package last updated on 16 Nov 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts