"pswdgn" makes password generation easier.
To install pswdgn, type in your console
npm i pswdgn
To use password generation, use the following method
pswdgn.generate(length, specialChars)
specialChars must be "true" or "false"
To check if a password is strong, use the following method
pswdgn.check(password)