Files
2019-01-25 01:39:48 +01:00
..
euh
2019-01-25 01:39:48 +01:00
euh
2019-01-25 01:39:48 +01:00
euh
2019-01-25 01:39:48 +01:00
euh
2019-01-25 01:39:48 +01:00

is-redirect Build Status

Check if a number is a redirect HTTP status code

Install

$ npm install --save is-redirect

Usage

var isRedirect = require('is-redirect');

isRedirect(302);
//=> true

isRedirect(200);
//=> false

License

MIT © Sindre Sorhus