2.0.1 • Published 4 years ago

generator-passwordjs v2.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

passwordGenerator

This module makes it possible to obtain a password according to the desired size. The result changes with each new call to the function.

Basic usage

/*Maximum number = 1e7.
Minimum number = 1.
If no argument the length of the password is 1.*/

const { passwordGenerator } = require("generator-passwordjs"); //Import the module.

console.log(passwordGenerator(<Number>)); //Log the result.

/*
Example: 
    console.log(passwordGenerator(5));
    output => 9j752

    console.log(passwordGenerator(50));
    output => jEcqF*Q142A1LiXJu1R11KUV5dVd1stGMSQ9M333E1Ahoy1nap
*/
2.0.1

4 years ago

2.0.0

4 years ago

1.0.0

4 years ago