Given a string "status code", httpstatus returns status text.
npm install httpstatus-strHTTPStatus 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.
shell
npm install -g httpstatus-str
``shell
npm install httpstatus-str
`$3
`javascript
const HTTPStatus = require('httpstatus-str');console.log(HTTPStatus["200"]);
`$3
`shell
> httpstatus 200
OK
``