[JavaScript] -  node端怎么给console添加颜色

浏览器端给console输出添加颜色和node端是不一样的 node端方法 样例 console.log('\x1b[36m%s\x1b[0m', 'I am cyan'); //cyan console.log('\x1b[33m...
2022-4-7  ·  96 views   · 0 replies · 标签: more+