# @types/run-parallel

> TypeScript definitions for run-parallel

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

## Install

```sh
npm install @types/run-parallel
pnpm add @types/run-parallel
yarn add @types/run-parallel
bun add @types/run-parallel
```

## 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.1.2 |
| Published | 2023-11-07 |
| First published | 2018-05-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51431 |
| Maintainers | types |

## Links

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

## Recent versions

- 1.1.2 (latest) — 2023-11-07
- 1.1.0 (ts2.1) — 2018-05-27
- 1.1.1 — 2023-10-18

## README

# Installation
> `npm install --save @types/run-parallel`

# Summary
This package contains type definitions for run-parallel (https://github.com/feross/run-parallel).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/run-parallel.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/run-parallel/index.d.ts)
````ts
declare namespace RunParallel {
    type TaskCallback<T> = (err: Error | null, results?: T) => void;
    type Task<T> = (callback: TaskCallback<T>) => void;
    type TaskObj<T> = Record<string, Task<T>>;

    type Callback<T> = (err: Error, results: T) => void;
}

declare function RunParallel<T>(tasks: Array<RunParallel.Task<T>>): T[];
declare function RunParallel<T>(tasks: Array<RunParallel.Task<T>>, callback: RunParallel.Callback<T[]>): void;

declare function RunParallel<T>(tasks: RunParallel.TaskObj<T>): Record<string, T>;
declare function RunParallel<T>(tasks: RunParallel.TaskObj<T>, callback: RunParallel.Callback<Record<string, T>>): void;

export = RunParallel;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 15:11:36 GMT
 * Dependencies: none

# Credits
These definitions were written by [mrmlnc](https://github.com/mrmlnc).

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