@zhangfuxing/colors
v1.2.1
Published
node.js console with colors
Downloads
48
Readme
node_colors
node.js console with colors
Install
$ npm i @zhangfuxing/colors
Useage
getter mode
require('@zhangfuxing/colors');
console.log('test'.red);
function mode
const colors = require('@zhangfuxing/colors/fn');
console.log(colors.green('test'));
text colors
- red
- green
- yellow
- blue
- white
background colors
- bgRed
- bgGreen
- bgYellow
- bgBlue
- bgWhite