npm.io
1.0.3 • Published 2 years ago

password-master

Licence
ISC
Version
1.0.3
Deps
0
Size
2 kB
Vulns
0
Weekly
0

Installation

$ npm install password-master -g

Usage

create([options])

Create a password with options. The password string is returned.

let PasswordMaster = require('password-master');

let password = PasswordMaster.create({
   length: 20, //default: 10
   uppercase: true, //default: false
   numbers: true, //default: false
   symbols: true //default: false
});
//Creating without options will return a password with a length of 10 and only small characters.

// 'A/Xk_s3MR[Yr^#>V!BIe'
console.log(password);

Keywords