Have ideas to improve npm?Join in the discussion! »

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.

Install

npm i http-status-code-registry

DownloadsWeekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

6.88 kB

Total Files

17

Last publish

Collaborators

  • avatar