mirror of
				https://github.com/flynx/colors.js.git
				synced 2025-10-31 12:00:08 +00:00 
			
		
		
		
	[api] Added ability to safely require colors without messing with String.prototype [api] Removed browser functionality [dist] Add travis file
		
			
				
	
	
		
			5 lines
		
	
	
		
			147 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
		
			147 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| var colors = require('../colors');
 | |
| 
 | |
| module['exports'] = function (letter, i, exploded) {
 | |
|   return i % 2 === 0 ? letter : colors.inverse(letter);
 | |
| }; |