You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
610 B
32 lines
610 B
4 weeks ago
|
# builtin-status-codes [![Build Status](https://travis-ci.org/bendrucker/builtin-status-codes.svg?branch=master)](https://travis-ci.org/bendrucker/builtin-status-codes)
|
||
|
|
||
|
> 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.
|
||
|
|
||
|
|
||
|
## Install
|
||
|
|
||
|
```
|
||
|
$ npm install --save builtin-status-codes
|
||
|
```
|
||
|
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
```js
|
||
|
var codes = require('builtin-status-codes')
|
||
|
codes[100]
|
||
|
//=> Continue
|
||
|
```
|
||
|
|
||
|
## Build
|
||
|
|
||
|
To create a new browser build:
|
||
|
|
||
|
```sh
|
||
|
$ npm run build
|
||
|
```
|
||
|
|
||
|
## License
|
||
|
|
||
|
MIT © [Ben Drucker](http://bendrucker.me)
|