arraycombinations

1.0.0 • Public • Published

arraycombinations

arrays-union is used to find the number of combinations of an array without repitation

Install

npm install --save arraycombinations

Usage

const array_comb=require('arraycombinations');

array_comb.combinations([1,2,3,4]);

//result will be [[1],[1,2],[1,2,3],[1,2,3,4],[2],[2,3],[2,3,4],[3],[3,4],[4]]

Package Sidebar

Install

npm i arraycombinations

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

1.21 kB

Total Files

3

Last publish

Collaborators

  • pradeepaanumalla