1.1.6 • Published 10 months ago

simple-pass-generator v1.1.6

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

Random Password Generator

Easy-to-use random password generator

Install

    $ npm install simple-pass-generator

How to use

Note: the first parameter means the number of characters in the password. The second, third and fourth parameters define what the password will consist of. They should be defined as: numbers, letters, symbols.

How to load the installed package

    const simplePassGenerator = require('simple-pass-generator')

Usage

    const myPassword = simplePassGenerator.getRandomPass(5, 'letters')
    //the password will consist of 5 upper and lower case letters (dZdQc)

    const myPassword = simplePassGenerator.getRandomPass(5, 'letters', 'numbers')
    //the password will consist of 5 upper and lower case letters and numbers (u87V9)

    const myPassword = simplePassGenerator.getRandomPass(5, 'letters', 'symbols', 'numbers')
    //the password will consist of 5 upper and lower case letters, symbols and numbers (!EcA4)
1.1.1

10 months ago

1.1.0

10 months ago

1.1.6

10 months ago

1.1.5

10 months ago

1.1.4

10 months ago

1.1.3

10 months ago

1.1.2

10 months ago

1.0.1

2 years ago

1.0.0

2 years ago