17 lines
		
	
	
		
			355 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			355 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| /*jshint -W054 */
 | |
| ;(function (exports) {
 | |
|   'use strict';
 | |
| 
 | |
|   var hri = exports.humanReadableIds || require('../index').hri
 | |
|     , i
 | |
|     ;
 | |
| 
 | |
|   for (i = 0; i < 100; i += 1) {
 | |
|     console.log(hri.random());
 | |
|   }
 | |
| 
 | |
|   for (i = 0; i < 10; i += 1) {
 | |
|     console.log(hri.get('#na'));
 | |
|   }
 | |
| }('undefined' !== typeof exports && exports || new Function('return this')()));
 |