zorigami
Version:
a package for managing web workers
13 lines • 463 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
/* this is necessary because the 'uuid' npm module does not work with typescript */
function uuid() {
function s4() {
return Math.floor((1 + Math.random()) * 0x10000)
.toString(16)
.substring(1);
}
return s4() + s4() + '-' + s4() + '-' + s4() + '-' + s4() + '-' + s4() + s4() + s4();
}
exports.default = uuid;
//# sourceMappingURL=uuid.js.map