# passwort

> NodeJS package for easy and secure password hashing

Latest version **1.0.4** (published 2017-02-16) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2017-02-16 |
| First published | 2017-02-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | pbrln |
| Maintainers | pbrln |

## Links

- npm: https://www.npmjs.com/package/passwort
- Repository: https://github.com/pbrln/passwort
- Homepage: https://github.com/pbrln/passwort#readme
- Issues: https://github.com/pbrln/passwort/issues
- npm.io page: https://npm.io/package/passwort

## Dependencies (1)

- [lodash](https://npm.io/package/lodash.md) ^4.17.4

## Recent versions

- 1.0.4 (latest) — 2017-02-16
- 1.0.3 — 2017-02-16
- 1.0.2 — 2017-02-14
- 1.0.1 — 2017-02-14
- 1.0.0 — 2017-02-14

## README

[View on NPM][npm]

## Installation
```
npm install passwort --save
```

## Example Usage
```
var passwort = require('passwort');

var pw = passwort.create({
  algorithm: 'sha1'
});

var input = 'passwort';

var hash = await pw.hash(input);
var matches = await pw.verify(input, hash);

console.log('input =', input);
console.log('hash =', hash);
console.log('matching =', match?'yes':'no');
```
[npm]: https://www.npmjs.com/package/passwort

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