Skip to content

izaakschroeder/cartesian-product

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cartesian-product

Compute the cartesian product of an array.

build status coverage license version downloads

Simple library to compute the cartesian product.

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

About

Compute the cartesian product of an array.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published