1.0.0 • Published 3 years ago

pimpmahroutes v1.0.0

Weekly downloads
3
License
ISC
Repository
github
Last release
3 years ago

pimpmyroutes

Instead of having to squint to be able to tell what type of http request is being made to your routes, you can now see each individual one in different colors!

With the help of modules like chalk, node-emoji and the power of my own frustration, we can pimp our routes.

Installation\ To be able to use pimpinmyroutes, you need to have node.js and npm installed on your operating system.

Inside of your project's directory, enter the following commands.

npm install pimpinmyroutes

Or

npm install --save pimpinmyroutes

To Use\ Import the module and then use it like any other Node Express middleware.

const express = require('express')
const app = express()

//====================[IMPORT]================\\
const pimpinmyroutes = require('pimpinmyroutes')


//======================[USE]==================\\
app.use(pimpinmyroutes)