📜  带有彩色字体的 console.log - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:23.685000             🧑  作者: Mango

代码示例6
var colors = require('colors');

console.log('This is rainbow'.rainbow);
console.log('This is zebra'.zebra);
console.log('This is america'.america);
console.log('This is trap'.trap);
console.log('This is random'.random);
console.log('This is random2'.random);
console.log('This is random3'.random);