Skip to content

antoineneff/http-status-codes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

http-status-codes

Get HTTP status codes description

Install

$ npm install @antoineneff/http-status-codes

Usage

const status = require('@antoineneff/http-status-codes')

// You can use a number or a string
status('200').code // 200
status(200).message // "OK"
status(200).description // "The request has succe..."

status(200) // All of the above

Resources

  • MDN docs - List of the HTTP status codes

License

MIT © Antoine Neff

About

Get HTTP status codes description

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published