generateId

This function returns a random id which can be controlled with the params.

Params

numbers: boolean If this is true, there will be numbers in the id.

small: boolean If this is true, there will be small letters in the id.

large: boolean If this is true, there will be large letters in the id.

length: number This parameter defines the length of the returned string.

Last updated