npm.io
5.0.0 • Published 2 years ago

onedionys-secure-password-generator

Licence
ISC
Version
5.0.0
Deps
8
Size
7 kB
Vulns
0
Weekly
0
Stars
1

Welcome to One Dionys - Secure Password Generator!

The function to automatically generate strong and secure passwords, assisting users in creating strong passwords.

Requirements

  • Web Browser - Can be used as an emulator to build applications. Example [Chrome, Firefox, Safari & Opera].
  • Internet - Because many use CDN and to make it easier to find solutions to all problems.

How To Use

Example Syntax
const { generatePassword } = require('secure-password-generator');

const password = generatePassword(12);
console.log(password); // Example output: "Xy3@p#r2Qz8!"
Explanation
  • The generatePassword function takes a single argument length which specifies the length of the generated password. It constructs the password by randomly selecting characters from sets of uppercase letters, lowercase letters, digits, and special characters. Then, it ensures that the password contains at least one character from each set. Finally, it shuffles the characters to increase randomness.
Return Value
  • The generatePassword function returns a string representing the generated password.

Release Date

  • v1.0.0 : 18 March 2024
  • v1.0.1 : 18 March 2024
  • v5.0.0 : 31 March 2024

Author

License

  • Copyright 2024 One Dionys
  • One Dionys - Secure Password Generator is an open source project licensed under the MIT license

Suppport & Donation

Love One Dionys - Secure Password Generator? Support this project by donating or sharing with others in need.

Made with One Dionys

Keywords