pimpinmyroutes

The prototype

Usage no npm install needed!

<script type="module">
  import pimpinmyroutes from 'https://cdn.skypack.dev/pimpinmyroutes';
</script>

README

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)