# @gedalos.dev/callbag-join

> Callbag operator. Joins source data in arrays of strictly specified size.

Latest version **1.0.0** (published 2019-12-02) · ISC license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @gedalos.dev/callbag-join
pnpm add @gedalos.dev/callbag-join
yarn add @gedalos.dev/callbag-join
bun add @gedalos.dev/callbag-join
```

## Health

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

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2019-12-02 |
| First published | 2019-12-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=13.2.0 |
| Dependencies | 0 |
| Unpacked size | 4.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | gedalos.dev@gmail.com |
| Maintainers | gedalos.dev |
| Keywords | callbag |

## Links

- npm: https://www.npmjs.com/package/@gedalos.dev/callbag-join
- Repository: https://gitlab.com/gedalos.dev/callbag-join
- Homepage: https://gitlab.com/gedalos.dev/callbag-join#readme
- Issues: https://gitlab.com/gedalos.dev/callbag-join/issues
- npm.io page: https://npm.io/package/@gedalos.dev/callbag-join

## Recent versions

- 1.0.0 (latest) — 2019-12-02

## README

# callbag-join

Joins source data in arrays of specified size.

Only data is transmitted if the specified size has been reached, otherwise they are dismissed, (even if the stream ends).

original idea by [André Staltz - callbag](https://github.com/callbag/callbag)

## run test

`$ yarn`

`$ yarn -s test`

the status code (`$?`) will be 0 or 1 depending on the result.

## install

`$ yarn add @gedalos.dev/callbag-join`

## using from nodejs

```javascript
import pipe from '@gedalos.dev/callbag-pipe';
import of from '@gedalos.dev/callbag-of';
import join from '@gedalos.dev/callbag-join';
import forEach from '@gedalos.dev/callbag-for-each';

pipe(
  of(1, 2, 3, 5, 8, 13, 21),
  join(2),
  forEach(console.log) // [1, 2], [3, 5], [8, 13]
);
```

## using from browser

```javascript
import pipe from 'callbag-pipe/index.js';
import of from 'callbag-of/index.js';
import join from 'callbag-join/index.js';
import forEach from 'callbag-for-each/index.js';

pipe(
  of(1, 2, 3, 5, 8, 13, 21),
  join(2),
  forEach(console.log) // [1, 2], [3, 5], [8, 13]
);
```

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