# permutation-stream

> permutate an input stream

Latest version **0.1.0** (published 2013-11-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install permutation-stream
pnpm add permutation-stream
yarn add permutation-stream
bun add permutation-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.0 |
| Published | 2013-11-03 |
| First published | 2013-11-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Andrew Theaker |
| Maintainers | rockinghorse |
| Keywords | permutation, stream, permutate |

## Links

- npm: https://www.npmjs.com/package/permutation-stream
- Repository: https://github.com/rockinghorse/node-permutation-stream
- Issues: https://github.com/rockinghorse/node-permutation-stream/issues
- npm.io page: https://npm.io/package/permutation-stream

## Dependencies (3)

- [async](https://npm.io/package/async.md) ~0.2.9
- [extend](https://npm.io/package/extend.md) ~1.2.1
- [event-stream](https://npm.io/package/event-stream.md) ~3.0.16

## 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.0 (latest) — 2013-11-03

## README

node-permutation-stream
=======================

Create a stream of permutations

API
===

createPermutationStream(data[, opts])
-------------------------
Creates a stream of permutations of the data array. Arrays are emitted by the stream.

#### opts
- min - minimum numbers of items in the output (default: 0)
- max - maximum number of items to output (default: data.length)

```javascript
var ps = require('permutation-stream');
var es = require('event-stream');

var s = ps.createPermutationStream(['hello', 'world']);
s.pipe(process.stdout);

> []
> ["hello"]
> ["world"]
> ["hello","world"]
> ["world","hello"]
```

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