1.1.0 • Published 2 years ago

@iwezix/genpassword v1.1.0

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

GenPassword

GenPassword is a simple package to generate password.

Install

npm install @iwezix/genpassword --save

Usage

import { genPassword } from '@iwezix/genpassword';

const password = genPassword(true, true, 10, false);

// [ 'Anb3(4,c)C', '3l)9j-3hz7' ]
console.log(password);

Available options

NameDescription
numberBoolean, put numbers in password.
specialBoolean, put symbols in password.
lengthNumber, length of password.
capitalLetterBoolean, put capitals letters in password
1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago