# smart-combin

> Get elements and generate all the possible combinations with they.

Latest version **0.0.1** (published 2015-07-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install smart-combin
pnpm add smart-combin
yarn add smart-combin
bun add smart-combin
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2015-07-11 |
| First published | 2015-07-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Julio Goldschmidt |
| Maintainers | juliogold |
| Keywords | combine, combination |

## Links

- npm: https://www.npmjs.com/package/smart-combin
- Repository: https://github.com/JulioGold/smart-combin
- Issues: https://github.com/JulioGold/smart-combin/issues
- npm.io page: https://npm.io/package/smart-combin

## Recent versions

- 0.0.1 (latest) — 2015-07-11

## README

# smart-combin
Get elements and generate all the possible combinations with they

## Usage

```
npm install smart-combin
```  

```javascript
var smartCombin = require('smart-combin');

// From a total of seven elements i want all combinations of groups having 5 elements.
var allElements = [ "44", "16", "49", "53", "04", "52", "39" ];
var outputList = smartCombin.combine(allElements,5);

outputList.forEach( function (item) {
    console.log(item[0] + "," + item[1] + "," + item[2] + "," + item[3] + "," + item[4]);
});
```  

Thanks

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