# pull-array-collate

> Collate array objects and send them downstream.

Latest version **0.1.0** (published 2014-07-06) · 0 weekly downloads

## Install

```sh
npm install pull-array-collate
pnpm add pull-array-collate
yarn add pull-array-collate
bun add pull-array-collate
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2014-07-06 |
| First published | 2014-06-29 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.6.11 <=0.7.0 \|\| >=0.7.3 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | ClickHere |
| Maintainers | tounano |
| Keywords | streams, pull-stream, array |

## Links

- npm: https://www.npmjs.com/package/pull-array-collate
- Repository: https://github.com/tounano/pull-array-collate
- Homepage: https://github.com/tounano/pull-array-collate/
- Issues: https://github.com/tounano/pull-array-collate/issues
- npm.io page: https://npm.io/package/pull-array-collate

## Dependencies (1)

- [pull-stream](https://npm.io/package/pull-stream.md) latest

## Alternatives

- [byte-size](https://npm.io/package/byte-size.md) — 2.1M weekly downloads
- [speed-limiter](https://npm.io/package/speed-limiter.md) — 16.0K weekly downloads
- [@powersync/node](https://npm.io/package/@powersync/node.md) — 10.9K weekly downloads
- [@ledgerhq/coin-cardano](https://npm.io/package/@ledgerhq/coin-cardano.md) — 1.0K weekly downloads
- [@jayesol/jayeson.lib.streamfinder](https://npm.io/package/@jayesol/jayeson.lib.streamfinder.md) — 1.0K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2014-07-06
- 0.0.2 — 2014-06-29
- 0.0.1 — 2014-06-29

## README

# pull-array-collate

Collate arrays and send them downstream.

This `pull-stream` is combination of a Sink and a Through. It will sink all the objects from upstream, once upstream
reached it's end, it'll send downstream an array.

## Example

```js
var pull = require("pull-stream");
var arrCollateStream = require("pull-array-collate");

function plusOneMapper(num) {
  return num+1;
}

pull(
  pull.values([1,2,3,4]),
  pull.map(plusOneMapper),
  arrCollateStream(),
  pull.drain(console.log)
)
```

**Result:**

```
[ 2, 3, 4, 5 ]
```

## install

With [npm](https://npmjs.org) do:

```
npm install pull-array-collate
```

## license

MIT

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