@zhangfuxing/colors
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @zhangfuxing/colors

Weekly Downloads

2

Version

1.2.1

License

MIT

Unpacked Size

4.02 kB

Total Files

6

Last publish

Collaborators

  • fuxingzhang