httpsc
v0.0.7
Published
![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)
Downloads
18
Readme
httpsc
Simple HTTP status codes reference CLI. The httpsc
command stands for "HTTP status codes". Sorry, more meaningful package names are taken.
Usage
Use a pattern matching to get short info about multiple codes or detailed info about particular one.
npx httpsc
to get the whole referencenpx httpsc 4
to get short info about all4xx
codesnpx httpsc 40
to get short info about all40x
codesnpx httpsc 404
to get detailed info about404
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 referencegetCode
to get the info about particular status code (i.e.getCode(404)
)
Thanks to
Wikipedia :-*