An open API service indexing awesome lists of open source software.

https://github.com/karimsa/data-stream

powerful data processing with node.js streams
https://github.com/karimsa/data-stream

Last synced: 6 months ago
JSON representation

powerful data processing with node.js streams

Awesome Lists containing this project

README

          

# data-stream [![travis-ci build status](https://magnum.travis-ci.com/karimsa/data-stream.svg?token=bynzkcTP4XciV8soPs5e)](https://travis-ci.org/karimsa/data-stream)

powerful data manipulation with node.js streams.

***DISCLAIMER:*** *This was a project I started a while ago but never got around to finishing but decided to upload it anyways in case anyone else is interested in it. Enjoy!*

***Note:*** *Install with 'npm install data_stream because data-stream was already taken.*

[![NPM](https://nodei.co/npm/data_stream.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/data_stream/)

## Usage

To start using, install it into your project, create a new data-stream, apply your transforms, then treat as a regular stream:

```javascript
var data = require('../');
var stream = data()
.sum()
.debounce(100)
.forEach(console.log);

setInterval(function(){ stream.write(1) }, 1);
```

*See [examples/sum.js](examples/sum.js).*

## API documentation

For the full API specification, please see [doc/index.md](doc/index.md).

## License

Licensed under [GPL-3.0](LICENSE.txt).