i-generate-random
v1.0.1
Published
```css ## How to use ```
Downloads
2
Readme
##This is a little and simple random characters generator, It is good for password or token generator.
## How to use
To install: npm i i-generate-random
// To Generate only strings mix with numbers
const randGen = require("i-generate-random").randomStrGenerator;
console.log(randGen(20)); // Note: You can change the 20 to how long random you want to generate.
// Result will be something like this : "NWMgwHSyr2VmRRiODzK2W"
// To Generate only strings mix with numbers and Special characters
const randCharGen = require("i-generate-random").randomCharGenerator;
console.log(randCharGen(25)); // Note: You can change the 25 to how long random you want to generate.
// Result will be something like this : "EXaUj4W29kIk#27ufkN2Iv#Hmj"