Maciej Małecki 0e5305709d [test] Test colors.js, add test.js
This is the worst example of unit tests in the world.
2011-10-02 00:36:05 +02:00
2011-09-25 10:11:37 +02:00
2010-11-20 03:20:01 -08:00
2011-09-25 11:13:41 +02:00
2011-10-02 00:36:05 +02:00

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

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

   sys.puts('hello'.green); // outputs green text
   sys.puts('i like cake and pies'.underline.red) // outputs red underlined text
   sys.puts('inverse the color'.inverse); // inverses the color
   sys.puts('OMG Rainbows!'.rainbow); // rainbow (ignores spaces)

colors and styles!

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

Authors

Alexis Sellier (cloudhead) , Marak Squires , Justin Campbell, Dustin Diaz (@ded)

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