Guillaume Vincent dce645da59 | 8 lat temu | |
---|---|---|
tests | 8 lat temu | |
.gitignore | 8 lat temu | |
.npmignore | 8 lat temu | |
.travis.yml | 8 lat temu | |
LICENSE | 8 lat temu | |
README.md | 8 lat temu | |
lesspass.js | 8 lat temu | |
package.json | 8 lat temu | |
password-generator.js | 8 lat temu | |
text.js | 8 lat temu |
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