# @types/is-piped

> TypeScript definitions for is-piped

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

## Install

```sh
npm install @types/is-piped
pnpm add @types/is-piped
yarn add @types/is-piped
bun add @types/is-piped
```

## 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 | 2021-12-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51446 |
| Maintainers | types |

## Links

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

## Recent versions

- 0.1.2 (latest) — 2023-11-07
- 0.1.0 (ts3.8) — 2021-12-02
- 0.1.1 — 2023-10-18

## README

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

declare const isPiped: isPiped;

interface isPiped {
    /**
     * Determines if an inbound file descriptor is piped or not, across platforms.
     *
     * @example
     * import * as isPiped from 'is-piped';
     *
     * console.log(isPiped.in(0));
     *
     * // {
     * //     piped: false,
     * //     confident: false
     * // }
     */
    in: (fd: number) => isPiped.IsPipedResult;
    /**
     * Determines if an outbound file descriptor is piped or not, across platforms.
     *
     * @example
     * import * as isPiped from 'is-piped';
     *
     * console.log(isPiped.out(1));
     *
     * // {
     * //     piped: false,
     * //     confident: false
     * // }
     */
    out: (fd: number) => isPiped.IsPipedResult;
}

declare namespace isPiped {
    interface IsPipedResult {
        /**
         * Whether or not it's a pipe.
         */
        piped: boolean;
        /**
         * Whether or not we're absolutely sure of that.
         */
        confident: boolean;
    }
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
 * Dependencies: none

# Credits
These definitions were written by [BendingBender](https://github.com/bendingbender).

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