项目原始demo,不改动
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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

readme.md 610 B

12345678910111213141516171819202122232425262728293031
  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)