@plantacjabetonu/randomid-generator
v1.0.2
Published
A package containing a function for generating a string of randomised characters from the following arrangement: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
Downloads
3
Readme
A package containing a function for generating a string of randomised characters from the following arrangement: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
The output's length depends on entered numerical value (idLength).
Example:
// import randomID function const randomID = require('@plantacjabetonu/randomid-generator');
// print out a string of 10 random characters in console // the value '10' can be replaced with any other number console.log(randomID(10));