mpass
v1.0.3
Published
Mnemonic password generator
Downloads
969
Maintainers
Readme
mpass
Password generator using a mnemonic word list
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