UNPKG

node-simple-ipc

Version:

A Node.Js module for local Inter Process Communication

14 lines 351 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.uniqueId = void 0; const crypto_1 = require("crypto"); /** * Returns a unique id. * * @returns Next unique id. */ function uniqueId() { return (0, crypto_1.randomBytes)(16).toString('hex'); } exports.uniqueId = uniqueId; //# sourceMappingURL=unique-id.js.map