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.

/http-status-code-registry/

    Package Sidebar

    Install

    npm i http-status-code-registry

    Weekly Downloads

    2

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    6.88 kB

    Total Files

    17

    Last publish

    Collaborators

    • radioactivehamster