UNPKG

crypto-id

Version:

Create a random id of any length with characters 0-9,A-Z,a-z using the browser's crypto.getRandomValues interface.

7 lines (6 loc) 415 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createSortableId = exports.createId = void 0; var browser_1 = require("./browser"); Object.defineProperty(exports, "createId", { enumerable: true, get: function () { return browser_1.createId; } }); Object.defineProperty(exports, "createSortableId", { enumerable: true, get: function () { return browser_1.createSortableId; } });