# variations-stream

> Streams all the variations (with repetitions) of a set

Latest version **0.1.3** (published 2014-09-22) · 0 weekly downloads

## Install

```sh
npm install variations-stream
pnpm add variations-stream
yarn add variations-stream
bun add variations-stream
```

## 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.1.3 |
| Published | 2014-09-22 |
| First published | 2014-09-22 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 11 |
| Author | Mario Casciaro |
| Maintainers | mariocasciaro |
| Keywords | powerset, stream, combinations |

## Links

- npm: https://www.npmjs.com/package/variations-stream
- Repository: https://github.com/mariocasciaro/variations-stream
- Issues: https://github.com/mariocasciaro/variations-stream/issues
- npm.io page: https://npm.io/package/variations-stream

## Dependencies (1)

- [readable-stream](https://npm.io/package/readable-stream.md) ~1.0.32

## Alternatives

- [byte-size](https://npm.io/package/byte-size.md) — 2.1M weekly downloads
- [speed-limiter](https://npm.io/package/speed-limiter.md) — 16.0K weekly downloads
- [@powersync/node](https://npm.io/package/@powersync/node.md) — 10.9K weekly downloads
- [@ledgerhq/coin-cardano](https://npm.io/package/@ledgerhq/coin-cardano.md) — 1.0K weekly downloads
- [@jayesol/jayeson.lib.streamfinder](https://npm.io/package/@jayesol/jayeson.lib.streamfinder.md) — 1.0K weekly downloads

## Recent versions

- 0.1.3 (latest) — 2014-09-22
- 0.1.2 — 2014-09-22
- 0.1.1 — 2014-09-22
- 0.1.0 — 2014-09-22

## README

variations-stream
===========

A readable stream that generates all the variations (with repetitions) of a set.

[![NPM version](https://badge.fury.io/js/variations-stream.png)](http://badge.fury.io/js/variations-stream)
[![Build Status](https://travis-ci.org/mariocasciaro/variations-stream.png)](https://travis-ci.org/mariocasciaro/variations-stream)
![Downloads](http://img.shields.io/npm/dm/variations-stream.svg)

## Install

### Node.js

```
npm install variations-stream
```

## Usage

```javascript
var variationsStream = require('variations-stream');

variationsStream('abc', 2)
  .on('data', function(comb) {
    console.log(comb);
  });

/* Prints:

a
b
c
aa
ba
ca
ab
bb
cb
ac
bc
cc

*/

```

### Credits

* [Mario Casciaro](https://github.com/mariocasciaro) - Author

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