@readme/http-status-codes
Utility to lookup HTTP status codes.
Installation
npm install --save @readme/http-status-codes
Usage
import { getStatusCode } from '@readme/http-status-codes';
console.log(getStatusCode(429));
// { code: 429, message: 'Too Many Requests', success: false }