1.0.1 • Published 5 months ago

correct_password_generator v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
5 months ago

Correct password generator

The function of creating correct passwords that will be resistant to unauthorized access. To create them, you must specify the length of the generated password from 8 to 20 characters.
If you specify to generate a password of less than 8 or more than 20 characters, the function throws an Error exception.

Installing

npm i correct_password_generator

Usage example

const password = require('correct_password_generator').generatePassword;
console.log(password(10));
// or
const { generatePassword } = require('correct_password_generator');
console.log(generatePassword(10));
1.0.1

5 months ago

1.0.0

5 months ago