colors.js/ReadMe.md
2010-06-11 07:25:35 -04:00

27 lines
714 B
Markdown

<h1>colors.js - get color and style in your nodejs console like what</h1>
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('So '.bold + 'are'.underline + ' styles! '.italic + 'inverse'.inverse); // styles don't work in standard Mac OS Terminal.app
sys.puts('Chains are also cool.'.bold.italic.underline.red); // styles dont't work in standard Mac OS Terminal.app
<h2>colors and styles!</h2>
- bold
- italic
- underline
- inverse
- yellow
- cyan
- white
- magenta
- green
- red
- grey
- blue
### Authors
#### Alexis Sellier (cloudhead) , Marak Squires