http-response-info

1.0.0-2D • Public • Published

The HTML response codes for your API.

Installing

npm install --save http-response-info

Usage

For using the package you need to include the package as follow

let responseCodes = require("http-response-info");

To use the function for checking the definition of the response codes use the following function

demo.htmlResponseCodes({Response code});

Your return value is the response status value as a string

Example

demo.htmlResponseCodes({200});
/// Expected response = "OK"

Readme

Keywords

Package Sidebar

Install

npm i http-response-info

Weekly Downloads

3

Version

1.0.0-2D

License

ISC

Unpacked Size

16.4 kB

Total Files

4

Last publish

Collaborators

  • ido435