colors
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/colors package

0.5.1 • Public • Published

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)

Install

npm i colors@0.5.1

Version

0.5.1

License

MIT

Last publish

Collaborators

  • marak