Guillaume Vincent dce645da59 | 8 years ago | |
---|---|---|
tests | 8 years ago | |
.gitignore | 8 years ago | |
.npmignore | 8 years ago | |
.travis.yml | 8 years ago | |
LICENSE | 8 years ago | |
README.md | 8 years ago | |
lesspass.js | 8 years ago | |
package.json | 8 years ago | |
password-generator.js | 8 years ago | |
text.js | 8 years ago |
LessPass npm module use to generate unique password
npm install lesspass
var lesspass = require('lesspass');
var entry = {
site: 'lesspass',
password: {
length: 14,
settings: ['lowercase', 'uppercase', 'numbers', 'symbols'],
counter: 1
}
};
var masterPassword = '90cff82b8847525370a8f29a59ecf45db62c719a535788ad0df58d32304e925d';
var password = lesspass.createPassword(masterPassword, entry);
console.log(password); // ubUB4[yqAD3?od