# @types/password-hash-and-salt

> TypeScript definitions for password-hash-and-salt

Latest version **0.1.2** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/password-hash-and-salt
pnpm add @types/password-hash-and-salt
yarn add @types/password-hash-and-salt
bun add @types/password-hash-and-salt
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2023-11-07 |
| First published | 2017-05-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51446 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/password-hash-and-salt
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/password-hash-and-salt
- npm.io page: https://npm.io/package/@types/password-hash-and-salt

## Recent versions

- 0.1.2 (latest) — 2023-11-07
- 0.1.0 (ts2.0) — 2017-05-01
- 0.1.1 — 2023-10-18

## README

# Installation
> `npm install --save @types/password-hash-and-salt`

# Summary
This package contains type definitions for password-hash-and-salt (https://github.com/florianheinemann/password-hash-and-salt).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/password-hash-and-salt.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/password-hash-and-salt/index.d.ts)
````ts
interface Password {
    hash(cb: (error: string, hash: string) => void): void;
    verifyAgainst(hash: string, cb: (error: string, verified: boolean) => void): void;
}

declare function password(password: string): Password;
declare namespace password {}

export = password;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: none

# Credits
These definitions were written by [Ali Taheri](https://github.com/alitaheri).

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