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.

31 lines
610 B

4 years ago
  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. > 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.
  3. ## Install
  4. ```
  5. $ npm install --save builtin-status-codes
  6. ```
  7. ## Usage
  8. ```js
  9. var codes = require('builtin-status-codes')
  10. codes[100]
  11. //=> Continue
  12. ```
  13. ## Build
  14. To create a new browser build:
  15. ```sh
  16. $ npm run build
  17. ```
  18. ## License
  19. MIT © [Ben Drucker](http://bendrucker.me)