To start using http-dino, you will need to install the package in your project:
npm install http-dino
To start using, simply import the package into your file:
import { HttpCodes } from "http-dino";
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.