2.0.1 • Published 2 years ago

password-generator-ts v2.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Password Generator Typescript / Javascript

Password Generator is a typescript library for generating strong password easily.

Installation

npm install password-generator-ts --save

How can I use?

import { generatePassword, IPasswordConfig } from "password-generator-ts";


const length: number = 8   // should be at least 6

// You should set as true at least two options
const config: IPasswordConfig = {
    lowercases: true,      // for including lowercase
    uppercases: true,      // for including uppercase
    symbols: false,        // for including symbols
    numbers: false         // for including numbers
};

# returns 'wREzBnDk'
const password = generatePassword(length, config);
1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.2.1

2 years ago

1.1.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago