1.2.1 • Published 5 years ago
@zhangfuxing/colors v1.2.1
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