@sertis/http-status

Contains an array mapping HTTP status code to its message

Usage no npm install needed!

<script type="module">
  import sertisHttpStatus from 'https://cdn.skypack.dev/@sertis/http-status';
</script>

README

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