# easy-concurrent-stream

> EasyConcurrentStream is easy to use concurrent transform strema

Latest version **0.1.2** (published 2018-02-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install easy-concurrent-stream
pnpm add easy-concurrent-stream
yarn add easy-concurrent-stream
bun add easy-concurrent-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.2 |
| Published | 2018-02-25 |
| First published | 2016-09-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 39.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Keisuke Isono |
| Maintainers | ikeisuke |
| Keywords | stream3, concurrent |

## Links

- npm: https://www.npmjs.com/package/easy-concurrent-stream
- Repository: https://github.com/ikeisuke/node-easy-concurrent-stream
- Homepage: https://github.com/ikeisuke/node-easy-concurrent-stream#readme
- Issues: https://github.com/ikeisuke/node-easy-concurrent-stream/issues
- npm.io page: https://npm.io/package/easy-concurrent-stream

## 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.2 (latest) — 2018-02-25
- 0.1.1 — 2016-11-08
- 0.1.0 — 2016-10-03
- 0.0.1 — 2016-09-27

## README

# EasyConcurrentStream

[![build status](https://circleci.com/gh/ikeisuke/node-easy-concurrent-stream.svg?style=shield&circle-token=4c191000c662ac0bea7d4e1990dd4cef6c882d52)](https://circleci.com/gh/ikeisuke/node-easy-concurrent-stream)
[![npm version](https://badge.fury.io/js/easy-concurrent-stream.svg)](https://www.npmjs.com/package/easy-concurrent-stream)
[![Code Climate](https://codeclimate.com/github/ikeisuke/node-easy-concurrent-stream/badges/gpa.svg)](https://codeclimate.com/github/ikeisuke/node-easy-concurrent-stream)
[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](LICENSE)

Create concurrent transform stream from an asyncronous function.


## How to use

Interface compatible with buildin stream.Transform
https://nodejs.org/api/stream.html#stream_implementing_a_transform_stream

```javascript
const Transform = require('easy-concurrent-stream').Transform;

const transform = new Transform({
  transform: function(chunk, encoding, callback) {
    async_function(chunk, function(data){
      callback(null, data);
    });
  },
  flush: function(callback) {
    // optionally
    // when remaining data has been flushed.
    callback();
  }
});
```

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