@itreg/password-utilities
v1.1.0
Published
Simple password utilities
Readme
Password Utilities Library (@yourname/password-utilities)
Overview
@yourname/password-utilities is a small JavaScript utility library that provides functions for generating and validating strong passwords.
The library is designed as part of a class exercise to demonstrate:
- npm project setup
- modular JavaScript library design
- unit testing with Jest
- semantic versioning
- npm publishing workflow
Features
The library provides the following functions:
generateStrongPassword(length)
Generates a random password of the given length.isStrongPassword(password)
Validates whether a password is considered strong based on defined rules.
Installation
npm
npm install @yourname/password-utilities