https://github.com/bendrucker/builtin-status-codes
The map of HTTP status codes from the builtin http module
https://github.com/bendrucker/builtin-status-codes
Last synced: 11 months ago
JSON representation
The map of HTTP status codes from the builtin http module
- Host: GitHub
- URL: https://github.com/bendrucker/builtin-status-codes
- Owner: bendrucker
- License: mit
- Created: 2015-07-03T13:00:54.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2022-04-21T17:51:51.000Z (over 4 years ago)
- Last Synced: 2024-12-06T03:05:07.536Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 19.5 KB
- Stars: 19
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# builtin-status-codes [](https://github.com/bendrucker/builtin-status-codes/actions?query=workflow%3Atests)
> 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
const 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)