updated readme

This commit is contained in:
Marak Squires 2010-06-11 08:54:08 -04:00
parent f5bb29b662
commit e5fbc71a20

View File

@ -5,6 +5,9 @@
var sys = require('sys');
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('So '.italic + 'are'.underline + ' styles! '.bold + 'inverse'.inverse); // styles not widely supported