hatemhosny / FoxRandomString.js

Random string Javascript object with specified types of the output

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FoxRandomString.js

Random string Javascript object with specified types of the output

Generate Random Strings

The generate(length, type) takes two optional parameters:

length: the desired length ,int, of the random string. type: the type of generated string, string, and it take one of the following string values: int: numbers lwr: Lowercase upr: uppercase uln: Uppercase, LowerCase and Numbers hex: Hexadecimal mix: Mix of Special Characters and alphanumerical.

Notice: The default value and the minimum of the length parameter is 4. The default value of type parameter is mix

About

Random string Javascript object with specified types of the output

License:The Unlicense


Languages

Language:JavaScript 100.0%