mirror of
https://github.com/flynx/colors.js.git
synced 2025-10-29 11:00:11 +00:00
added docs
This commit is contained in:
parent
afcf88be7c
commit
64e21673f7
@ -1,8 +1,12 @@
|
|||||||
<h1>colors.js - get color in your nodejs console like what</h1>
|
<h1>colors.js - get color in your nodejs console like what</h1>
|
||||||
|
|
||||||
|
|
||||||
var sys = require('sys');
|
var sys = require('sys');
|
||||||
|
var colors = require('colors');
|
||||||
sys.puts('whats up dog'.green);
|
sys.puts('whats up dog'.green);
|
||||||
sys.puts('i cant allow you to do that dave'.red);
|
sys.puts('i cant allow you to do that dave'.red);
|
||||||
var str = "I".green + " Like".yellow + " Colors!".grey;
|
var str = "I".green + " Like".yellow + " Colors!".grey;
|
||||||
sys.puts(str);
|
sys.puts(str);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
optional NPM install : npm install colors
|
||||||
Loading…
x
Reference in New Issue
Block a user