UNPKG

wordlist-password-generator

Version:

Uses words found within the worldlists on the site [https://www.wordgamedictionary.com/word-lists/]

10 lines 317 B
let randomPass = require('wordlist-password-generator'); /** * (4) Number of letters you want to word to have * (2) Levels of depth - 2 Yield 2 words and 2 numbers * */ let userPassword = new randomPass(4,2); userPassword.init().then((value) => { const userPassword = value; console.log(userPassword); });