Turns console.log
into console.fun
!
chalksay
is just a shortcut for logging chalk
styled text. Which is what
you almost always want to do with chalk
output.
Plain ol' chalk
:
var chalk = require('chalk');
console.log(chalk.blue('Say something blue'));
Even easier with chalksay
:
var chalksay = require('chalksay');
chalksay.blue('Say something blue');
Yes, you can do variadic calls to chalksay:
var chalksay = require('chalksay');
chalksay.blue('Roses are blue,', 'Violets are blue,', 'Sugar is blue,', 'and so are you.');
All of the chalk
styles are supported. Go nuts, say things in style!
npm install chalksay
The tests are colorful, run them it's fun.
npm test