npm

npm’s 2019 JavaScript ecosystem survey analysis is now available! Get your copy here »

httpsc

0.0.5 • Public • Published

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 :-*

Keywords

none

install

npm i httpsc

Downloadsweekly downloads

17

version

0.0.5

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability