1.0.1 • Published 2 years ago

lite-colors v1.0.1

Weekly downloads
-
License
GPL-3.0-or-later
Repository
github
Last release
2 years ago

Lite Colors 🎨

Minimalistic package to add colors to your console!

Usage

require('lite-colors')();

console.log('bold'.bold);
console.log('dim'.dim);
console.log('underline'.underline);

console.log('black'.black);
console.log('red'.red);
console.log('green'.green);
console.log('yellow'.yellow);
console.log('blue'.blue);
console.log('magenta'.magenta);
console.log('cyan'.cyan);
console.log('white'.white);
console.log('gray'.gray);

console.log('bgBlack'.bgBlack);
console.log('bgRed'.bgRed);
console.log('bgGreen'.bgGreen);
console.log('bgYellow'.bgYellow);
console.log('bgBlue'.bgBlue);
console.log('bgMagenta'.bgMagenta);
console.log('bgCyan'.bgCyan);
console.log('bgWhite'.bgWhite);
console.log('bgGray'.bgGray);

console.log('Multiple Styles'.bold.red.underline);

Known Problems

  • Type definitions are not working.