You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Guillaume Vincent 8f693048c9 update README.md 8 years ago
tests modify API 8 years ago
.gitignore modify API 8 years ago
.npmignore version 1.0.0 on npm 8 years ago
.travis.yml version 1.0.0 on npm 8 years ago
LICENSE version 1.0.0 on npm 8 years ago
README.md update README.md 8 years ago
lesspass.js modify API 8 years ago
package.json fix error in entry point 8 years ago
password-generator.js version 1.0.0 on npm 8 years ago
text.js version 1.0.0 on npm 8 years ago

README.md

Build Status

LessPass Core

LessPass npm module use to generate unique password

Install

npm install lesspass

Usage

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

Test

npm run test