http-status-code-registry
v0.1.0
Published
Fetches the HTTP status codes from the IANA registry.
Downloads
2
Maintainers
Readme
http-status-code-registry
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.