npm.io
1.0.1 • Published 6 years ago

@sertis/http-status

Licence
MIT
Version
1.0.1
Deps
0
Size
2 kB
Vulns
0
Weekly
0

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