@sertis/http-status

1.0.1 • Public • Published

HTTP status

Contains an array mapping HTTP status code to its message

const status = require('http-status')

console.log(status[200]) // OK
console.log(status[404]) // NOT_FOUND

Readme

Keywords

none

Package Sidebar

Install

npm i @sertis/http-status

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

2.45 kB

Total Files

3

Last publish

Collaborators

  • sertis-dev