# akostream

> all kinds of stream

Latest version **0.0.5** (published 2015-02-04) · MIT license · 0 weekly downloads

## Install

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

## 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.5 |
| Published | 2015-02-04 |
| First published | 2014-03-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | wyicwx |
| Maintainers | wyicwx |
| Keywords | stream |

## Links

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

## Dependencies (1)

- [through2](https://npm.io/package/through2.md) *

## 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.0.5 (latest) — 2015-02-04
- 0.0.4 — 2015-02-04
- 0.0.3 — 2015-02-04
- 0.0.2 — 2014-03-27
- 0.0.1 — 2014-03-09

## README

#akostream
![travis](https://api.travis-ci.org/wyicwx/akostream.png)  

> 各种各样的流(all kinds of stream)

##INSTALL
```
npm install akostream
```

```
var akostream = require('akostream');
```
*trickle*
```
var size = 100;
var trickle = akostream.trickle(size);

writeableStream.pipe(trickle).pipe(readableStream);
```
size限制流输出的大小，保证输出数据大小在size之下.

*delay*
```
var delay = 100;
var trickle = akostream.delay(delay);

writeableStream.pipe(trickle).pipe(readableStream);
```
延迟输出，delay控制延迟时间


*combine*
```
var toCombine = [readSteam1, readStream2, readStream3, readStream4];
var combine = akostream.combine(toCombine);

combine.pipe(readableStream);
```
按顺序顺序合并流

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