1.0.2 • Published 7 months ago

@if24b262/password-utilities v1.0.2

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

@if24b262/password-utilities

A small utility library that helps you work with passwords.
Version 1.0.2 includes patch fix: generateStrongPassword function automatically uses a length of 8 when using smaller number

Table of Contents

Installation

Install via npm:

npm install @if24b262/password-utilities 

Install via yarn:

yarn add @if24b262/password-utilities 

Usage

Basic Usage to toSnakeCase Import:

import { isStrongPassword, generateStrongPassword } from '@if24b262/password-utilities';

Examples

Convert a string to snake_case::

const password = "Abc123$!";
console.log(isStrongPassword(password)); 

const pwd = generateStrongPassword(16);
console.log(pwd); 

Contribution

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

Security

If you discover a security vulnerability, please see our SECURITY.md for instructions on responsible disclosure.

License

This project is licensed under the MIT License.

1.0.2

7 months ago

1.0.0

7 months ago