mirror of
				https://github.com/flynx/colors.js.git
				synced 2025-10-30 19:40:09 +00:00 
			
		
		
		
	[api] Added ability to safely require colors without messing with String.prototype [api] Removed browser functionality [dist] Add travis file
		
			
				
	
	
		
			9 lines
		
	
	
		
			241 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			241 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| //
 | |
| // Remark: Requiring this file will use the "safe" colors API which will not touch String.prototype
 | |
| //
 | |
| //   var colors = require('colors/safe);
 | |
| //   colors.red("foo")
 | |
| //
 | |
| //
 | |
| var colors = require('./lib/colors');
 | |
| module['exports'] = colors; |