Need private packages and team management tools?Check out npm Teams »

kwest-redirect

0.7.3 • Public • Published

kwest-redirect Build Status Dependency Status

Redirect middleware for kwest module.

Installation

$ npm install --save kwest-redirect

Use

var redirect = require('kwest-redirect'),
    base     = require('kwest-base'),
    request  = base.wrap(redirect({ maxRedirects: 10 }));
 
request('http://www.example.com')
  .then(function (res) {
    // has followed all redirects
  });

Keywords

Install

npm i kwest-redirect

DownloadsWeekly Downloads

0

Version

0.7.3

License

MIT

Last publish

Collaborators

  • avatar