Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 
 
Guillaume Vincent c5145fd9ba update readme 8 lat temu
lib add lib 8 lat temu
tests upgrade to node 6 LTS 8 lat temu
.gitignore upgrade to node 6 LTS 8 lat temu
.travis.yml upgrade to node 6 LTS 8 lat temu
ISSUE_TEMPLATE update ISSUE_TEMPLATE file 8 lat temu
index.js upgrade to node 6 LTS 8 lat temu
license standardization of sub modules 8 lat temu
package.json 5.0.1 8 lat temu
readme.md update readme 8 lat temu

readme.md

Build Status

core library for LessPass password manager in javascript used to generate unique password.

Requirements

  • node LTS v6

Install

npm install lesspass

Usage

var LessPass = require('lesspass');

var site = 'lesspass.com';
var login = 'contact@lesspass.com';
var masterPassword = 'password';
var options = {
    counter: 1,
    length: 12,
    lowercase: true,
    uppercase: true,
    numbers: true,
    symbols: true
};

LessPass.encryptLogin(login, masterPassword).then(encryptedLogin => {
    LessPass.renderPassword(encryptedLogin, site, options).then(generatedPassword => {
         console.log(generatedPassword); //azYS7,olOL2]
    });
});

see tests/api.tests.js for more examples

Tests

npm test

License

MIT © Guillaume Vincent

Issues

report issues on LessPass project