# accumulate

> Accumualates data, e.g. from a readable stream

Latest version **0.0.2** (published 2012-07-22) · 0 weekly downloads

## Install

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

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2012-07-22 |
| First published | 2012-07-19 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.4.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Weltschmerz |
| Maintainers | Weltschmerz |
| Keywords | accumulate |

## Links

- npm: https://www.npmjs.com/package/accumulate
- Repository: https://github.com/Weltschmerz/Acumulate
- npm.io page: https://npm.io/package/accumulate

## Recent versions

- 0.0.2 (latest) — 2012-07-22
- 0.0.1 — 2012-07-19

## README

# Accumulate

`npm install accumulate`

Accumulates data, e.g. from a readable stream.

### No more of this

```js
var data = ''
stream.on('data', function(d) {
    data += d
})
stream.on('end', function() {
    /* something with `data` */
})
```

### More of this

```js
var accumulate = require('accumulate')('utf8')
stream.on('data', accumulate)
stream.on('end', accumulate.done(console.log))
```

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