# cartesian-product

> Compute the cartesian product of an array.

Latest version **2.1.2** (published 2014-11-08) · CC0-1.0 license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.1.2 |
| Published | 2014-11-08 |
| First published | 2014-11-08 |
| Weekly downloads | 0 |
| License | CC0-1.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 28 |
| Author | Izaak Schroeder |
| Maintainers | izaakschroeder |
| Keywords | cartesian, cartesian product, array |

## Links

- npm: https://www.npmjs.com/package/cartesian-product
- Repository: https://github.com/izaakschroeder/cartesian-product
- Issues: https://github.com/izaakschroeder/cartesian-product/issues
- npm.io page: https://npm.io/package/cartesian-product

## Recent versions

- 2.1.2 (latest) — 2014-11-08
- 2.1.1 — 2014-11-08
- 2.1.0 — 2014-11-08

## README

# cartesian-product

Compute the cartesian product of an array.

![build status](http://img.shields.io/travis/izaakschroeder/cartesian-product.svg?style=flat)
![coverage](http://img.shields.io/coveralls/izaakschroeder/cartesian-product.svg?style=flat)
![license](http://img.shields.io/npm/l/cartesian-product.svg?style=flat)
![version](http://img.shields.io/npm/v/cartesian-product.svg?style=flat)
![downloads](http://img.shields.io/npm/dm/cartesian-product.svg?style=flat)

Simple library to compute the cartesian product.

```javascript
var product = require('cartesian-product');
console.log(product([
	[1,2],
	[4,5]
]));
// [ [1,4], [1,5], [2,4], [2,5] ]
```

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