mirror of
				https://github.com/flynx/colors.js.git
				synced 2025-11-04 05:50:10 +00:00 
			
		
		
		
	
		
			
	
	
		
			12 lines
		
	
	
		
			390 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
		
		
			
		
	
	
			12 lines
		
	
	
		
			390 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| 
								 | 
							
								var colors = require('./colors');
							 | 
						||
| 
								 | 
							
								module['exports'] = colors;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// Remark: By default, colors will add style properties to String.prototype
							 | 
						||
| 
								 | 
							
								//
							 | 
						||
| 
								 | 
							
								// If you don't wish to extend String.prototype you can do this instead and native String will not be touched
							 | 
						||
| 
								 | 
							
								//
							 | 
						||
| 
								 | 
							
								//   var colors = require('colors/safe);
							 | 
						||
| 
								 | 
							
								//   colors.red("foo")
							 | 
						||
| 
								 | 
							
								//
							 | 
						||
| 
								 | 
							
								//
							 | 
						||
| 
								 | 
							
								var extendStringPrototype = require('./extendStringPrototype')();
							 |