Optional
options: { Optional
exclude?: string[]Letters / Symbols that shouldnt be included
[]
1.0.0
Optional
length?: numberThe Length of the String
12
1.0.0
Optional
lowercase?: booleanWhether Lowercase Letters should be included
true
1.0.0
Optional
numbers?: booleanWhether Numbers should be included
true
1.0.0
Optional
symbols?: booleanWhether Symbols should be included
false
1.0.0
Optional
uppercase?: booleanWhether Uppercase Letters should be included
true
1.0.0
import { string } from "@rjweb/utils"
string.generate({ length: 5, numbers: true, ... }) // fgD43
1.0.0
nodejs, browser
Generate a Random String