1
|
# builtin-status-codes [![Build Status](https://travis-ci.org/bendrucker/builtin-status-codes.svg?branch=master)](https://travis-ci.org/bendrucker/builtin-status-codes)
|
2
|
|
3
|
> The map of HTTP status codes from the builtin http module. Exposes the latest directly from `http` in Node, with a zero-dependencies version for the browser.
|
4
|
|
5
|
|
6
|
## Install
|
7
|
|
8
|
```
|
9
|
$ npm install --save builtin-status-codes
|
10
|
```
|
11
|
|
12
|
|
13
|
## Usage
|
14
|
|
15
|
```js
|
16
|
var codes = require('builtin-status-codes')
|
17
|
codes[100]
|
18
|
//=> Continue
|
19
|
```
|
20
|
|
21
|
## Build
|
22
|
|
23
|
To create a new browser build:
|
24
|
|
25
|
```sh
|
26
|
$ npm run build
|
27
|
```
|
28
|
|
29
|
## License
|
30
|
|
31
|
MIT © [Ben Drucker](http://bendrucker.me)
|