Socket
Socket
Sign inDemoInstall

@readme/http-status-codes

Package Overview
Dependencies
0
Maintainers
10
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @readme/http-status-codes

Utility to lookup HTTP status codes


Version published
Weekly downloads
158K
decreased by-3.1%
Maintainers
10
Install size
22.4 kB
Created
Weekly downloads
 

Readme

Source

@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 }

FAQs

Last updated on 07 Oct 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc