0.1.0 • Published 6 years ago

http-status-code-registry v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

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.