mirror of
				https://github.com/flynx/colors.js.git
				synced 2025-10-31 12:00:08 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			369 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			369 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")
 | |
| //
 | |
| //
 | |
| require('./extendStringPrototype')();
 |