Skip to content

aleciafb/http-status-name

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

http-status-name Build Status

Get HTTP-status name by code.

Installation

From the same directory as your project's package.json, install this package with the following command:

npm install http-status-name --save-dev

Usage

httpStatusName  = require("http-status-name")

httpStatusName('200') 
// "OK"

httpStatusName('404') 
// "Not_Found"

httpStatusName('500')
// "Internal_Server_Error"

Try it out yourself.

Contributing

Found a 🪲? Have a feature request? Please create an Issue.

Pull requests are also encouraged, and if you find this project useful please consider ⭐-ing it to show your support!

Thank you!

Authors

Andre Helberg

Alecia Bester

License

Copyright (c) 2016 Alecia Bester, contributors. Released under the MIT license

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published