.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / is-redirect / readme.md
1 # is-redirect [![Build Status](https://travis-ci.org/sindresorhus/is-redirect.svg?branch=master)](https://travis-ci.org/sindresorhus/is-redirect)
2
3 > Check if a number is a [redirect HTTP status code](http://en.wikipedia.org/wiki/List_of_HTTP_status_codes#3xx_Redirection)
4
5
6 ## Install
7
8 ```
9 $ npm install --save is-redirect
10 ```
11
12
13 ## Usage
14
15 ```js
16 var isRedirect = require('is-redirect');
17
18 isRedirect(302);
19 //=> true
20
21 isRedirect(200);
22 //=> false
23 ```
24
25
26 ## License
27
28 MIT © [Sindre Sorhus](http://sindresorhus.com)