New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

simple-passwordscore

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-passwordscore

Simple Password Strength Checker & Generator

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

Simple Password Strength Checker & Generator

This is a simple password strength checker and generator. It is a simple javascript that can be used to check the strength of a password and generate a strong password.

Installation

npm install simple-passwordscore

Usage

import {
    ScorePassword,
    GeneratePassword
} from 'simple-passwordscore';

/**
 * Score password return -1 to 3
 * @type {number} score
 */
const score = ScorePassword('password');

/**
 * Generate password return a random password, 12 is length of password
 * Default length is 12
 * @type {string} password
 */
const password = GeneratePassword(12);

Keywords

password

FAQs

Package last updated on 12 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts