2.1.0 • Published 8 years ago

http-status-name v2.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

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 :beetle:? Have a feature request? Please create an Issue.

Pull requests are also encouraged, and if you find this project useful please consider :star:-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