A little project i made for fun!
1st do $npm i rages-node.js-logger
Example:
const logger = require("rages-node.js-logger"); //Load logger
logger("info", "Hello"); //"info" can be replaced with "warning", "error", "log" and "success"
It can also take a third argument which will display in magenta color.