@springworks/random-string
v3005.329.0
Published
Generate random strings
Downloads
2,475
Readme
@springworks/random-string
Generate random strings
yarn add @springworks/random-string
Usage
import {
alphabet_09,
alphabet_09_af,
alphabet_09_az,
alphabet_09_az_AZ,
alphabet_az,
getRandomString,
} from '@springworks/random-string';
getRandomString(alphabet_09, 5); // '15729'
getRandomString(alphabet_09_af, 8); // '22ebccec'
getRandomString(alphabet_09_az, 10); // '1lo44i2o5a'
getRandomString(alphabet_09_az_AZ, 10); // 'T0f6MeTVXt'
getRandomString(alphabet_az, 10); // 'jvwhqnqcne'