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
- Host: GitHub
- URL: https://github.com/karimsa/data-stream
- Owner: karimsa
- License: gpl-3.0
- Created: 2015-08-01T07:28:29.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-04T01:49:38.000Z (over 9 years ago)
- Last Synced: 2025-06-11T04:18:52.842Z (7 months ago)
- Language: JavaScript
- Size: 43 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# data-stream [](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.*
[](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).