Awesome-Automations
Awesome-Automations copied to clipboard
make console.log colorful
add colors to console.log in javascript projects.
For nodejs:
// This should be red color
console.log("\x1b[31m; %s \x1b[0m", "Hello world");
// for some more colors
for(let i =1; i <10; i++){
for(let j = 30; j<38; j++){
for(let k = 40; k<48; k++){
console.log(`\x1b[${i};${k};${j}m Hello world \x1b[0m`);
}
}
}
It's great having you contribute to this project
Welcome to our project :nerd_face:Our developers will respond you as soon as possible 🤓 . Any questions let us know.