pimpinmyroutes

1.0.5 • Public • Published

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)

Readme

Keywords

none

Package Sidebar

Install

npm i pimpinmyroutes

Weekly Downloads

0

Version

1.0.5

License

ISC

Unpacked Size

4.76 kB

Total Files

3

Last publish

Collaborators

  • anclaudys