UNPKG

everyutil

Version:

A comprehensive library of lightweight, reusable utility functions for JavaScript and TypeScript, designed to streamline common programming tasks such as string manipulation, array processing, date handling, and more.

9 lines (8 loc) 296 B
/** * Generates a random string from a given charset. * @author @dailker * @param {number} length - Length of the string. * @param {string} charset - Characters to use. * @returns {string} */ export declare function randomStringFromCharset(length: number, charset: string): string;