chalksay
v1.1.0
Published
Turns console.log into console.fun!
Downloads
98
Maintainers
Readme
chalksay
Turns console.log
into console.fun
!
Usage
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!
Install
npm install chalksay
Test
The tests are colorful, run them it's fun.
npm test