mirror of
https://github.com/flynx/colors.js.git
synced 2025-10-29 02:50:10 +00:00
This adds the ability to easily add new sequences. Adds two examples (zebra, red, white, blue). Also exports the addSequencer method to programs including colors can add new sequences on the fly. Conflicts: example.js
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 - blueAuthors
Alexis Sellier (cloudhead) , Marak Squires , Justin Campbell, Dustin Diaz (@ded)
Languages
JavaScript
100%