user-pass-gen
v3.2.6
Published
Generates a username/password (random characters)
Downloads
10
Readme
User-Pass-Gen (npm installation)
How do I use this package?
Usage:
const generator = require("user-pass-gen")
console.log(generator({type: "lettersLower", length: "15"})) //Output is a randomly generated string containing letters in lowercase that are 15 characters long
Examples:
const generator = require("user-pass-gen")
console.log("Username:" + " " + generator({type: "numbers", length: "5"})) //Output "Username: (randomly generated string containing numbers that are 5 characters long)"
console.log("Passowrd:" + " " + generator({type: "lettersUpper", length: "10"})) //Output "Passwrod: (randomly generated string containing letters uppercase that are 10 characters long)"