1.0.5 • Published 1 year ago

@os-team/password-score v1.0.5

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
1 year ago

@os-team/password-score NPM version BundlePhobia

Calculates a password strength score.

Usage

Install the package

Install the package using the following command:

yarn add @os-team/password-score

Simple usage

import getPasswordScore from '@os-team/password-score';

const passwordScore = getPasswordScore('password'); // 38

The following thresholds can be used to determine the strength of a password:

  • [score] < 30 – weak.
  • 30 ≤ [score] < 60 – good.
  • 60 ≤ [score] < 80 – strong.
  • [score] ≥ 80 – powerful.

Based on this answer.

1.0.5

1 year ago

1.0.4

2 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago