1.0.0 • Published 5 months ago

password-generator-2024 v1.0.0

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

Password Generator 2024

This is a Node.js library for generating secure passwords.

Installation

To install the library, use npm:

npm install password-generator-2024

## Usage

Here's an example of how to use the library in your Node.js project:

const passwordGenerator = require('password-generator-2024');

const password = passwordGenerator.generatePassword(12, { numbers: true, symbols: true });
console.log(password);

## API
generatePassword(length, options)

Generates a random password of the specified length with the given options.

    length: Length of the generated password (default is 12)
    options: An object with the following optional properties:
        numbers: Include numbers in the password (default is true)
        symbols: Include symbols in the password (default is true)

## Files

    main.js: Exports the functions available in the library.
    passwordGenerator.js: Contains the logic for generating passwords.

## Structure

The library is structured into separate files for better organization:

    main.js acts as an entry point and exports the library functions.
    passwordGenerator.js contains the password generation logic.

## Development

If you want to contribute or modify the library:

    Clone this repository.
    Make changes or additions as needed.
    Test your changes if required.
    Submit a pull request.
1.0.0

5 months ago