1.0.0 • Published 6 years ago

array-cartesian v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

Get All possible combinations of values from given 'n' number of arrays arguments.

Installation

npm install array-cartesian

Usage

You can just instantiate the module and call the functions whereever applicable.

  var cp = require('array-cartesian');
  var arr1 = [1,2,3];
  var arr2 = ['a','b','c'];
  var arr3 = ['x',4,'z'];
  cp.permute(arr1,arr2,arr3);  

Installing array-cartesian

  [sudo] npm install array-cartesian

Author: Srikanth Enjamoori