Skip to content

Repository files navigation

@lucid-softworks/array-cartesian-product

Compute the Cartesian product of multiple arrays.

import { cartesianProduct } from "@lucid-softworks/array-cartesian-product";

cartesianProduct([
  ["a", "b"],
  ["x", "y"],
]);

See the exported types and tests for exact edge-case behavior.

Releases

Packages

Contributors

Languages