human-readable-ids.js/tests/run-in-node.js

13 lines
285 B
JavaScript
Raw Normal View History

2014-07-21 05:21:23 +00:00
/*jshint -W054 */
;(function (exports) {
'use strict';
var hri = exports.humanReadableIds || require('../index').hri
2014-07-21 15:06:16 +00:00
, i
;
for (i = 0; i < 100; i += 1) {
console.log(hri.random());
}
2014-07-21 05:21:23 +00:00
}('undefined' !== typeof exports && exports || new Function('return this')()));