/mpass

Password generator using a mnemonic word list

Primary LanguageJavaScriptBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

mpass

Password generator using a mnemonic word list

build status

API

mpass (n[, true])

mpass() takes an optional number, & boolean. The first parameter is the amount of words to use (defaults to 3), and the second enables common special characters for passwords (defaults to false).

Example

var mpass = require('mpass');

console.log(mpass()); // 3 random words, e.g. 'salaryvideoengine'
console.log(mpass(3, true)); // 3 random words & special characters, e.g. 'Extremepar0dynovel$'

License

Copyright (c) 2016 Jason Mulligan Licensed under the BSD-3 license