| 
									
										
										
										
											2010-06-11 07:25:35 -04:00
										 |  |  | var sys = require('sys'); | 
					
						
							|  |  |  | var colors = require('./colors'); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-07-14 17:40:30 -07:00
										 |  |  | //colors.mode = "browser";
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2010-07-22 14:37:56 -04:00
										 |  |  | sys.puts('Rainbows are fun!'.rainbow); | 
					
						
							| 
									
										
										
										
											2010-06-11 07:57:53 -04:00
										 |  |  | sys.puts('So '.italic + 'are'.underline + ' styles! '.bold + 'inverse'.inverse); // styles not widely supported
 | 
					
						
							| 
									
										
										
										
											2011-03-15 03:10:40 -07:00
										 |  |  | sys.puts('Chains are also cool.'.bold.italic.underline.red); // styles not widely supported
 | 
					
						
							| 
									
										
										
										
											2011-07-14 15:59:52 -07:00
										 |  |  | //sys.puts('zalgo time!'.zalgo);
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | sys.puts(colors.rainbow('Rainbows are fun!')); | 
					
						
							|  |  |  | sys.puts(colors.italic('So ') + colors.underline('are') + colors.bold(' styles! ') + colors.inverse('inverse')); // styles not widely supported
 | 
					
						
							|  |  |  | sys.puts(colors.bold(colors.italic(colors.underline(colors.red('Chains are also cool.'))))); // styles not widely supported
 | 
					
						
							|  |  |  | //sys.puts(colors.zalgo('zalgo time!'));
 |