# safe-password

> Store and check passwords as of current standards told you to

Latest version **0.1.4** (published 2018-03-14) · 0 weekly downloads

## Install

```sh
npm install safe-password
pnpm add safe-password
yarn add safe-password
bun add safe-password
```

## Health

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

Positive: has types; no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.4 |
| Published | 2018-03-14 |
| First published | 2017-12-18 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 20.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 0 |
| Author | Anton Repin |
| Maintainers | xdire |

## Links

- npm: https://www.npmjs.com/package/safe-password
- Repository: https://github.com/node-common/safe-password
- Homepage: https://github.com/node-common/safe-password#readme
- Issues: https://github.com/node-common/safe-password/issues
- npm.io page: https://npm.io/package/safe-password

## Dependencies (1)

- [ts-exceptions](https://npm.io/package/ts-exceptions.md) ^1.0.1

## Recent versions

- 0.1.4 (latest) — 2018-03-14
- 0.1.3 — 2017-12-18
- 0.1.2 — 2017-12-18
- 0.1.1 — 2017-12-18
- 0.1.0 — 2017-12-18

## README

# Safe password
Store and check passwords as of current standards told you to

## HOW TO

### Zero setup

```typescript

import {SafePasswordHelper} from "safe-password";

// Create result as a ready-made encrypted password
const result = await SafePasswordHelper
                     .get()
                     .standard()
                     .encodeAuto("password");

// Check some password on validity against result
const valid = await SafePasswordHelper
                       .get()
                       .standard()
                       .checkAuto("password", result);
                                    
if(valid) {
    
    // .... Do something
    
}

```

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