Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 909 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 909 Bytes

@readme/http-status-codes

Utility to lookup HTTP status codes.

CI

ReadMe Open Source

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 }