dijkstra-backend-cloudron/node_modules/is-redirect
2020-10-12 11:27:15 +02:00
..
index.js Add initial version of dijkstra backend cloudron image 2020-10-12 11:27:15 +02:00
license Add initial version of dijkstra backend cloudron image 2020-10-12 11:27:15 +02:00
package.json Add initial version of dijkstra backend cloudron image 2020-10-12 11:27:15 +02:00
readme.md Add initial version of dijkstra backend cloudron image 2020-10-12 11:27:15 +02: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