I made a npm package called coloured-logs that basically gives you functions to log to the console with some colour! It also has a timestamp feature.
Here is the link: https://www.npmjs.com/package/coloured-logs
Quickstart if you’re too busy to read README.md:
NPM installation:
$ npm install coloured-logs
Package usage:
const cons = require("coloured-logs");
cons.success("Message sent!");
cons.info("Request received!");
cons.error("Could not process file");
cons.response("Request returned status 200");
cons.server("Server listening on port 3000");
Please give feedback/bug reports by replying to this post, thanks