# @types/promise-hash

> TypeScript definitions for promise-hash

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

## Install

```sh
npm install @types/promise-hash
pnpm add @types/promise-hash
yarn add @types/promise-hash
bun add @types/promise-hash
```

## 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.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.3.2 |
| Published | 2023-11-07 |
| First published | 2019-11-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51443 |
| Maintainers | types |

## Links

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

## Recent versions

- 1.3.2 (latest) — 2023-11-07
- 1.3.0 (ts2.8) — 2019-11-14
- 1.3.1 — 2023-10-18

## README

# Installation
> `npm install --save @types/promise-hash`

# Summary
This package contains type definitions for promise-hash (https://github.com/mtimofiiv/promise-hash).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/promise-hash.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/promise-hash/index.d.ts)
````ts
export = hash;

type PromiseHash = <T>(promiseHash: { [P in keyof T]: PromiseLike<T[P]> | T[P] }) => Promise<T>;

declare global {
    interface PromiseConstructor {
        hash: PromiseHash;
    }
}

declare const hash: PromiseHash;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: none

# Credits
These definitions were written by [Michael Shafir](https://github.com/mshafir).

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