spark-http-status-codes
v1.0.0
Published
Constants enumerating the HTTP status codes. All status codes defined in RFC1945 (HTTP/1.0, RFC2616 (HTTP/1.1), and RFC2518 (WebDAV) are supported.
Downloads
2
Maintainers
Readme
spark-http-status-codes
This library can be used to acces Http staus codes
Installation
npm install spark-http-status-codes
Usage
const HTTP_STATUS_CODES = require('spark-http-status-codes');
HTTP_STATUS_CODES.OK //This will give a value of 200
HTTP_STATUS_CODES.INTERNAL_SERVER_ERROR //This will give a value of 500