@openfga/frontend-utils
Version:
Exposes helpful utilities for building authoring experiences of OpenFGA Models.
7 lines (6 loc) • 357 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.insecureRandomString = void 0;
// Source: https://stackoverflow.com/questions/1349404/generate-random-string-characters-in-javascript/8084248#8084248
const insecureRandomString = () => (Math.random() + 1).toString(36);
exports.insecureRandomString = insecureRandomString;