# @types/pumpify

> TypeScript definitions for pumpify

Latest version **1.4.5** (published 2025-10-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/pumpify
pnpm add @types/pumpify
yarn add @types/pumpify
bun add @types/pumpify
```

## Health

**Score 65/100 (B)** — status: stable.

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

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 1.4.5 |
| Published | 2025-10-24 |
| First published | 2018-04-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 4.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51449 |
| Maintainers | types |

## Links

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

## Dependencies (2)

- [@types/node](https://npm.io/package/@types/node.md) *
- [@types/duplexify](https://npm.io/package/@types/duplexify.md) *

## Recent versions

- 1.4.5 (latest) — 2025-10-24
- 1.4.4 (ts5.1) — 2023-11-07
- 1.4.1 (ts3.5) — 2018-05-08
- 1.4.3 — 2023-10-18
- 1.4.2 — 2023-09-24
- 1.4.0 — 2018-04-18

## README

# Installation
> `npm install --save @types/pumpify`

# Summary
This package contains type definitions for pumpify (https://github.com/mafintosh/pumpify).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pumpify.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pumpify/index.d.ts)
````ts
/// <reference types="node" />

import duplexify = require("duplexify");
import { Duplex, Readable, Stream, Writable } from "stream";

declare class Pumpify extends Duplex implements duplexify.Duplexify {
    constructor(...streams: Stream[]);
    constructor(streams: Stream[]);
    setPipeline(...streams: Stream[]): void;
    setPipeline(streams: Stream[]): void;

    // Duplexify members
    setWritable(writable: Writable): void;
    setReadable(readable: Readable): void;
}

interface PumpifyFactoryOptions {
    autoDestroy: boolean;
    destroy: boolean;
    objectMode: boolean;
    highWaterMark: number;
}

declare namespace Pumpify {
    let obj: typeof Pumpify;
    function ctor(opts: PumpifyFactoryOptions): typeof Pumpify;
}

export = Pumpify;

````

### Additional Details
 * Last updated: Fri, 24 Oct 2025 04:02:41 GMT
 * Dependencies: [@types/duplexify](https://npmjs.com/package/@types/duplexify), [@types/node](https://npmjs.com/package/@types/node)

# Credits
These definitions were written by [Justin Beckwith](https://github.com/JustinBeckwith), and [Ankur Oberoi](https://github.com/aoberoi).

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