# fifo-stream

> a streaming fifo

Latest version **0.0.0** (published 2014-11-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install fifo-stream
pnpm add fifo-stream
yarn add fifo-stream
bun add fifo-stream
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.0 |
| Published | 2014-11-02 |
| First published | 2014-11-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Andrew |
| Maintainers | andrewwinterman |

## Links

- npm: https://www.npmjs.com/package/fifo-stream
- Repository: https://github.com/AWinterman/node-fifo-stream
- Issues: https://github.com/AWinterman/node-fifo-stream/issues
- npm.io page: https://npm.io/package/fifo-stream

## Dependencies (3)

- [tape](https://npm.io/package/tape.md) ^3.0.1
- [xtend](https://npm.io/package/xtend.md) ^4.0.0
- [through](https://npm.io/package/through.md) ^2.3.6

## Recent versions

- 0.0.0 (latest) — 2014-11-02

## README

# fifo-stream

A streaming fifo-stream

```js

Fifo = require('fifo-stream')

var starting_elements = [1, 2, 3, 4]

var fifo = new Fifo(starting_elements)

fifo.write([1, 2, 3])

fifo.pipe(process.stdout)
// writes:
// 1234123
```

## API

`fifo = require('fifo-stream')` returns a funciton.

`fifo(initial, options)` returns a readable/writable stream.

- `initial`: an array of objects which seed the fifo
- `options`: an object of options:
  - `ends`: (defaults to true) specifies whether or not the stream should end
    when the queue runs out of elements.

Uses through under the hood.

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