http-status-code-registry

0.1.0 • Public • Published

http-status-code-registry

npm node build license

Fetches the HTTP status codes from the IANA registry.

Install

$ yarn add http-status-code-registry # Or alternatively: `npm install http-status-code-registry` 

Usage

'use strict';
 
const httpStatusCodeRegistry = require('http-status-code-registry');
 
(async () => {
    try {
        console.log(await httpStatusCodeRegistry());
    } catch (e) {
        console.error(e);
    }
})();

Testing

$ yarn test # Or alternatively: `npm test` 

License

The MIT License (Expat). See the license file for details.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    1

Package Sidebar

Install

npm i http-status-code-registry

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

6.88 kB

Total Files

17

Last publish

Collaborators

  • radioactivehamster