@readme/http-status-codes
TypeScript icon, indicating that this package has built-in type declarations

8.0.1 • Public • Published

@readme/http-status-codes

Utility to lookup HTTP status codes.

Build

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 }

Dependents (3)

Package Sidebar

Install

npm i @readme/http-status-codes

Weekly Downloads

119,358

Version

8.0.1

License

MIT

Unpacked Size

23 kB

Total Files

7

Last publish

Collaborators

  • llimllib
  • darrenyong
  • gratcliff
  • dannobytes
  • gkoberger
  • domharrington
  • mjcuva
  • kanadgupta
  • jonursenbach
  • rafegoldberg
  • dashron
  • iliast