npm.io
2.0.0 • Published 2 years ago

simpliest-password-generator

Licence
ISC
Version
2.0.0
Deps
0
Size
4 kB
Vulns
0
Weekly
0

Welcome to simpliest-password-generator

Version License: ISC

function for password generation

Install

npm install simpliest-password-generator

Usage

const genereatePassword = require('simpliest-password-generator');

// 1: simple usage
console.log(genereatePassword()) // E?r8H,,4>Tqy

// 2: with length and specials controls
const eightWithUppercase = genereatePassword(8, {
  uppercase: true,
  numbers: false,
  specials: false
})

console.log(eightWithUppercase) // PGgLajec

Author

d.igoschin.igoshin@gmail.com

Show your support

Give a ️ if this project helped you!

Keywords