1.0.4 • Published 1 year ago
http-dino v1.0.4
HTTP-DINO
Install
To start using http-dino, you will need to install the package in your project:
npm install http-dino
Import
To start using, simply import the package into your file:
import { HttpCodes } from "http-dino";
Use
Now you are ready to use status codes in a readable manner, lets print 404 to the console:
console.log(HttpCodes.NOT_FOUND); // prints 404
Each and every status code is documented in the code. For further explanation and a deep dive, please checkout official documentation.