# @types/p-fifo

> TypeScript definitions for p-fifo

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

## Install

```sh
npm install @types/p-fifo
pnpm add @types/p-fifo
yarn add @types/p-fifo
bun add @types/p-fifo
```

## 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.0.2 |
| Published | 2023-11-07 |
| First published | 2019-10-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51439 |
| Maintainers | types |

## Links

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

## Recent versions

- 1.0.2 (latest) — 2023-11-07
- 1.0.0 (ts2.1) — 2019-10-15
- 1.0.1 — 2023-10-18

## README

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

declare class PFifo<T> {
    constructor();
    push(chunk: T): Promise<void>;
    shift(): Promise<T>;
    isEmpty(): boolean;
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: none

# Credits
These definitions were written by [Junxiao Shi](https://github.com/yoursunny).

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