1.0.18 • Published 9 months ago

password-generator-ts v1.0.18

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months 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.0.18

9 months ago

1.0.17

9 months ago

1.0.16

9 months ago

1.0.15

9 months ago

1.0.14

9 months ago

1.0.13

9 months ago

1.0.12

9 months ago

1.0.11

9 months ago

1.0.10

9 months ago

1.0.9

9 months ago

1.0.8

9 months ago

1.0.7

9 months ago

1.0.6

9 months ago

1.0.5

9 months ago

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago