mirror of
https://github.com/flynx/colors.js.git
synced 2025-11-01 04:20:12 +00:00
update docs
This commit is contained in:
parent
7e4bf7d642
commit
34845fc1f4
@ -1,12 +1,14 @@
|
|||||||
<h1>colors.js - get color in your nodejs console like what</h1>
|
<h1>colors.js - get color and style in your nodejs console like what</h1>
|
||||||
|
|
||||||
var sys = require('sys');
|
var sys = require('sys');
|
||||||
var colors = require('colors');
|
var colors = require('colors');
|
||||||
sys.puts('whats up dog'.green);
|
sys.puts('whats up dog'.green);
|
||||||
sys.puts('i cant allow you to do that dave'.red);
|
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;
|
var str = "I".green + " Like".yellow + " Colors!".grey;
|
||||||
sys.puts(str);
|
sys.puts(str);
|
||||||
|
|
||||||
|
|
||||||
|
<h2>colors and styles!</h2>
|
||||||
- bold
|
- bold
|
||||||
- italic
|
- italic
|
||||||
- underline
|
- underline
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user