# simul

> Create writable streams that process data in parallel.

Latest version **0.1.0** (published 2014-08-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install simul
pnpm add simul
yarn add simul
bun add simul
```

## 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 | 2014-08-25 |
| First published | 2014-08-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Evan Solomon |
| Maintainers | evansolomon |

## Links

- npm: https://www.npmjs.com/package/simul
- Repository: https://github.com/evansolomon/simul
- Issues: https://github.com/evansolomon/simul/issues
- npm.io page: https://npm.io/package/simul

## Dependencies (1)

- [futurus](https://npm.io/package/futurus.md) ^0.1.0

## Recent versions

- 0.1.0 (latest) — 2014-08-25

## README

# Simul

[![Build Status](https://secure.travis-ci.org/evansolomon/simul.svg?branch=master)](http://travis-ci.org/evansolomon/simul)

 > At the same time

Create Node.js writable streams that process data in parallel.

This should only be used for streams where chunks are completely independent.

## Example

```js
var simul = require('./index')

var parallelWrite = function (data, enc, done) {
  setTimeout(function () {
    console.log(data.toString())
    done()
  }, Math.random() * 2000)
}

var writable = simul.extend(parallelWrite, 5, {objectMode: true})
writable.write(1)
writable.write(2)
writable.write(3)
writable.write(4)
writable.write(5)
writable.write(6)
writable.end(7)

// '4'
// '1'
// '3'
// '2'
// '5'
// '6'
// '7'
```

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