mirror of
https://github.com/flynx/colors.js.git
synced 2025-10-29 11:00:11 +00: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('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
colors and styles!
- bold - italic - underline - inverse - yellow - cyan - white - magenta - green - red - grey - blueAuthors
Alexis Sellier (cloudhead) , Marak Squires
Languages
JavaScript
100%