httpstatus-str
v1.0.1
Published
Given a string "status code", httpstatus returns status text.
Readme
HTTPStatus
HTTPStatus is a lean lookup table to match a given status code to its status text.
What make it different than others is that it uses string as a lookup key.
Installation
npm install -g httpstatus-strnpm install httpstatus-strNode.js
const HTTPStatus = require('httpstatus-str');
console.log(HTTPStatus["200"]);Command Line
> httpstatus 200
OK