UNPKG

remeda

Version:

A utility library for JavaScript and Typescript.

2 lines (1 loc) 393 B
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkYC27MA32cjs = require('./chunk-YC27MA32.cjs');var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";function m(...n){return _chunkYC27MA32cjs.a.call(void 0, a,n)}function a(n){let r=[];for(let t=0;t<n;t++){let e=i[Math.floor(Math.random()*i.length)];r.push(e)}return r.join("")}exports.a = m;