1.1.0 • Published 9 months ago

@alejofl/password-utilities v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

@alejofl/password-utilities

NPM Version

Small, useful JavaScript library that provides password utility functions.

Table of Contents

Installation

Install via npm:

npm install @alejofl/password-utilities

Install via yarn:

yarn add @alejofl/password-utilities

Install via pnpm:

pnpm add @alejofl/password-utilities

Examples of Usage

Generate a strong password with a length of 12 characters. This will be a strong password, checked with the isStrongPassword function:

import { generateStrongPassword } from '@alejofl/password-utilities';

const password = generateStrongPassword();
console.log(`Generated password: ${password}`); // Generated password: <12-character-password>

Check if a password is strong (i.e. contains at least one uppercase letter, one lowercase letter, one digit, and one special character):

import { isStrongPassword } from '@alejofl/password-utilities';

const isStrong = isStrongPassword('pC%mD8TpCKn2');
console.log(`Is the password strong? ${isStrong}`); // Is the password strong? true

Contribution

Contributions are welcome! Please see CONTRIBUTING.md for more details.

Security

Please refer to our SECURITY.md for information about our security policies, how to report vulnerabilities, and our approach to handling security concerns.

License

This project is licensed under the MIT License.

Final Remarks

This project was done in an academic environment, as part of the curriculum of Continuous Integration from University of Applied Sciences Technikum Wien (UASTW). The project was carried out by Alejo Flores Lucey and Amelia Maier.

1.1.0

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago