mirror of
https://github.com/flynx/colors.js.git
synced 2025-10-31 20:10:09 +00:00
updated readme
This commit is contained in:
parent
f5bb29b662
commit
e5fbc71a20
@ -5,6 +5,9 @@
|
|||||||
var sys = require('sys');
|
var sys = require('sys');
|
||||||
var colors = require('./colors');
|
var colors = require('./colors');
|
||||||
|
|
||||||
|
sys.puts('hello'.green); // outputs green text
|
||||||
|
|
||||||
|
// from the example.js file
|
||||||
sys.puts('C'.yellow+'o'.red+'l'.grey+'o'.cyan+'r'.magenta+'s'.magenta+' are '.green + 'fun!'.yellow);
|
sys.puts('C'.yellow+'o'.red+'l'.grey+'o'.cyan+'r'.magenta+'s'.magenta+' are '.green + 'fun!'.yellow);
|
||||||
sys.puts('C'.yellow+'o'.red+'l'.grey+'o'.cyan+'r'.magenta+'s'.magenta+' are '.green + 'fun!'.yellow);
|
sys.puts('C'.yellow+'o'.red+'l'.grey+'o'.cyan+'r'.magenta+'s'.magenta+' are '.green + 'fun!'.yellow);
|
||||||
sys.puts('So '.italic + 'are'.underline + ' styles! '.bold + 'inverse'.inverse); // styles not widely supported
|
sys.puts('So '.italic + 'are'.underline + ' styles! '.bold + 'inverse'.inverse); // styles not widely supported
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user