password-master

1.0.3 • Public • Published

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);

Package Sidebar

Install

npm i password-master

Weekly Downloads

1

Version

1.0.3

License

ISC

Unpacked Size

2.2 kB

Total Files

3

Last publish

Collaborators

  • makssein