Print colorful text in console
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
History.md
Makefile
Readme.md
component.js
component.json
index.js
package.json
start.json

Readme.md

color-console

Print colorful text in console

Installation

npm

npm install color-console

component

component install shallker/color-console

Quick Start

var colorConsole = require('color-console');

colorConsole.red('you should see red text');
colorConsole.green('you should see green text');

Test

Browser side
http://shallker.github.io/color-console/test

API

colorConsole

.black(String text)

.red(String text)

.green(String text)

.yellow(String text)

.blue(String text)

.magenta(String text)

.cyan(String text)

.white(String text)

.grey(String text)

License

MIT