0.1.0 • Published 6 years ago
http-status-code-registry v0.1.0
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.
0.1.0
6 years ago