Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
 
Guillaume Vincent c56ee5f12d add lib pirms 8 gadiem
lib add lib pirms 8 gadiem
tests upgrade to node 6 LTS pirms 8 gadiem
.gitignore upgrade to node 6 LTS pirms 8 gadiem
.travis.yml upgrade to node 6 LTS pirms 8 gadiem
ISSUE_TEMPLATE update ISSUE_TEMPLATE file pirms 8 gadiem
index.js upgrade to node 6 LTS pirms 8 gadiem
license standardization of sub modules pirms 8 gadiem
package.json upgrade to node 6 LTS pirms 8 gadiem
readme.md upgrade to node 6 LTS pirms 8 gadiem

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

LessPass project