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

📅  最后修改于: 2022-03-11 14:57:31.679000             🧑  作者: 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);