1.1.0 • Published 9 years ago

chalksay v1.1.0

Weekly downloads
43
License
MIT
Repository
github
Last release
9 years ago

Build Status

chalksay

Turns console.log into console.fun!

NPM

screenshot

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