# strength

> Quick and dirty password strength evaluation

Latest version **0.1.4** (published 2014-09-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install strength
pnpm add strength
yarn add strength
bun add strength
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.4 |
| Published | 2014-09-06 |
| First published | 2014-09-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | jeffhparrish@gmail.com |
| Maintainers | ruffrey |
| Keywords | password, strength, auth, users, security |

## Links

- npm: https://www.npmjs.com/package/strength
- Repository: https://github.com/ruffrey/strength
- Issues: https://github.com/ruffrey/strength/issues
- npm.io page: https://npm.io/package/strength

## Alternatives

- [@clerk/clerk-expo](https://npm.io/package/@clerk/clerk-expo.md) — 133.6K weekly downloads
- [@pothos/plugin-authz](https://npm.io/package/@pothos/plugin-authz.md) — 12.4K weekly downloads
- [@bounded-sh/client](https://npm.io/package/@bounded-sh/client.md) — 3.2K weekly downloads
- [@luigi-project/plugin-auth-oauth2](https://npm.io/package/@luigi-project/plugin-auth-oauth2.md) — 2.3K weekly downloads
- [@nocobase/plugin-verification](https://npm.io/package/@nocobase/plugin-verification.md) — 2.0K weekly downloads

## Recent versions

- 0.1.4 (latest) — 2014-09-06
- 0.1.3 — 2014-09-06

## README

# Estimate password strength in javascript

On a scale of 0 = weak to 5.0 = strong.

	$  npm install strength --save

[![NPM version](https://badge.fury.io/js/strength.svg)](http://badge.fury.io/js/strength)

No dependencies.

## Usage

	var strength = require('strength');

	var password = 'password';

	var howStrong = strength(password);

	console.log(howStrong); // 0

## Password criteria

* automatically fails 10,000 most common passwords
* letters, case, numbers, special characters
* length
* repitition

## Tests

	npm test

## License

MIT

## Author

Jeff Parrish @ruffrey

---
_Source: https://npm.io/package/strength · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
