2010-06-11 08:01:06 -04:00
2010-06-11 07:57:53 -04:00
2010-06-11 08:01:06 -04:00

colors.js - get color and style in your nodejs console like what

   var sys = require('sys');
   var colors = require('./colors');

   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('Chains are also cool.'.bold.italic.underline.red); // styles not widely supported

colors and styles!

- bold - italic - underline - inverse - yellow - cyan - white - magenta - green - red - grey - blue

Authors

Alexis Sellier (cloudhead) , Marak Squires

Description
get colors in your node.js console (reverted to the non-sabotaged v1.4.0)
Readme MIT 465 KiB
Languages
JavaScript 100%