Skip to content

Instantly share code, notes, and snippets.



Created Apr 5, 2019
What would you like to do?
Stdout logs on Steroids
const moment = require('moment');
const colors = {
"green" :"\x1b[32m",
module.exports = function (message,color="default"){
// Logs in BD time UTC+6
let tm = moment().utc().add(6,'hours').format(`DDMMMYY_h:mA`);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.