New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

httpsc

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

httpsc

![Travis (.com)](https://img.shields.io/travis/com/pawelgrzybek/httpsc.svg?style=for-the-badge) ![NPM](https://img.shields.io/npm/l/httpsc.svg?style=for-the-badge) ![npm](https://img.shields.io/npm/v/httpsc.svg?style=for-the-badge)

latest
Source
npmnpm
Version
0.0.7
Version published
Weekly downloads
4
-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

httpsc

Travis (.com) NPM npm

Simple HTTP status codes reference CLI. The httpsc command stands for "HTTP status codes". Sorry, more meaningful package names are taken.

httpsc CLI screenshot

Usage

Use a pattern matching to get short info about multiple codes or detailed info about particular one.

  • npx httpsc to get the whole reference
  • npx httpsc 4 to get short info about all 4xx codes
  • npx httpsc 40 to get short info about all 40x codes
  • npx httpsc 404 to get detailed info about 404 code

Node.js API

Do you wan't to use this info on your project? Here you go.

yarn add httpsc
import httpsc, { getCode } from "httpsc";
  • httpsc to get the whole reference
  • getCode to get the info about particular status code (i.e. getCode(404))

Thanks to

Wikipedia :-*

FAQs

Package last updated on 04 Nov 2022

Did you know?

Socket

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