mirror of
https://github.com/flynx/colors.js.git
synced 2025-11-02 21:10:08 +00:00
28 lines
580 B
Markdown
28 lines
580 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('whats up dog'.green);
|
|
sys.puts('i cant allow you to do that dave'.italic.grey.underline + 'ill beat you with the chain'.bold.red);
|
|
var str = "I".green + " Like".yellow + " Colors!".grey;
|
|
sys.puts(str);
|
|
|
|
|
|
<h2>colors and styles!</h2>
|
|
- bold
|
|
- italic
|
|
- underline
|
|
- inverse
|
|
- yellow
|
|
- cyan
|
|
- white
|
|
- magenta
|
|
- green
|
|
- red
|
|
- grey
|
|
- blue
|
|
|
|
|
|
### Authors
|
|
|
|
#### Alexis Sellier (cloudhead) , Marak Squires |