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 8f4a6855d1 add license in readme pirms 8 gadiem
tests babel ES6 code pirms 8 gadiem
.gitignore simplify API for password creation pirms 8 gadiem
.npmignore version 1.0.0 on npm pirms 8 gadiem
.travis.yml version 1.0.0 on npm pirms 8 gadiem
ISSUE_TEMPLATE add issue template pirms 8 gadiem
index.js fix import error pirms 8 gadiem
license standardization of sub modules pirms 8 gadiem
package.json 4.0.4 pirms 8 gadiem
readme.md add license in readme pirms 8 gadiem

readme.md

Build Status

LessPass Core

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

Requirements

  • node v4.6.x

Install

npm install lesspass

Usage

import LessPass from 'lesspass';
    
const site = 'lesspass.com';
const login = 'contact@lesspass.com';
const masterPassword = 'password';
const options = {
    counter: 1,
    length: 12,
    lowercase: true,
    uppercase: true,
    numbers: true,
    symbols: true
};
LessPass.encryptLogin(login, masterPassword)
    .then(encryptedLogin => {
        var generatedPassword = LessPass.renderPassword(encryptedLogin, site, options);
        console.log(generatedPassword); //azYS7,olOL2]
    });

see tests/api.tests.js for more examples

Tests

npm test

License

MIT © Guillaume Vincent

LessPass project