Skip to content

nackjicholson/chalksay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

When you chalksay, you turn console.log into console.fun!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published