1.0.5 • Published 2 years ago

variable-randomizer v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago
  • randomizer 101 -

rArray - Randomizes and outputs a random value from your array

Example:

rArray({ array: users }, async user => console.log(user) ) - This will console log a random user from the users array.

rString - Gives you a random string, good for IDs and passwords

Example:

rString({ length: 100 }, async password => console.log(password) ) - This will console log a random string with 100 characters

Example 2:

const customLetters = 'a', 'b', 'c' rString({ length: 100, customLetters: customLetters }, async password => console.log(password) ) - This will console log a random string with 100 but will only include letters from the customLetters array

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago