# pull-cartesian

> pull-stream that performs cartesian multiplication on json objects.

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

## Install

```sh
npm install pull-cartesian
pnpm add pull-cartesian
yarn add pull-cartesian
bun add pull-cartesian
```

## 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-28 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.6.11 <=0.7.0 \|\| >=0.7.3 |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | ClickHere |
| Maintainers | tounano |
| Keywords | streams, pull-stream, cartesian |

## Links

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

## Dependencies (4)

- [underscore](https://npm.io/package/underscore.md) latest
- [pull-replay](https://npm.io/package/pull-replay.md) latest
- [pull-stream](https://npm.io/package/pull-stream.md) latest
- [pull-unwind](https://npm.io/package/pull-unwind.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.1 — 2014-06-28

## README

# pull-cartesian

A pull-stream that performs cartesian multiplication on json objects.

`pull-cartesian` accepts one argument, which is a `readable` pull stream that will act as a multiplier.

## Example

```js
var pull = require("pull-stream");
var cartesian = require("pull-cartesian");

var events = [
  {eventName:"Some Event"},
  {eventName:"Another Event"}
];

var subscribers = [
  {recepient: "Some Subscriber"},
  {recepient: "Another Subscriber"}
];

pull(
  pull.values(events),
  cartesian(pull.values(subscribers)),
  pull.drain(console.log)
)
```

**Result:**

```
 { eventName: 'Some Event', recepient: 'Some Subscriber' }
 { eventName: 'Some Event', recepient: 'Another Subscriber' }
 { eventName: 'Another Event', recepient: 'Some Subscriber' }
 { eventName: 'Another Event', recepient: 'Another Subscriber' }
```

## install

With [npm](https://npmjs.org) do:

```
npm install pull-cartesian
```

## license

MIT

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