colored-log
a colorful console.log
tool
\x1b[(文字装饰);(颜色代码):
1、字背景颜色范围 40:黑 41:深红 42:绿 43:黄色 44:蓝色 45:紫色 46:深绿 47:白色
2、颜色代码
基本 8 色 | 基本高对比色 |
---|---|
30 ~ 37 | 90 ~ 97 |
a colorful console.log
tool
\x1b[(文字装饰);(颜色代码):
1、字背景颜色范围 40:黑 41:深红 42:绿 43:黄色 44:蓝色 45:紫色 46:深绿 47:白色
2、颜色代码
基本 8 色 | 基本高对比色 |
---|---|
30 ~ 37 | 90 ~ 97 |
npm i @populus/colored-log
0
1.0.0
ISC
21.1 kB
14