Skip to content

madoos/hl-stream

Repository files navigation

NPM version Build Status Dependency Status Coverage percentage

hl-stream

High level streams library based on native node transforms inspired by highland and ramda.

The main focus is to provide a functional interface using the native Node streams.

For more information see manual/Usage and manual/Documentation

Getting Started

To install:

npm i --save hl-stream

In your project:

const _ = require('hl-stream')
const R = require('ramda')
const numberStream = require('./some/readable/numbersStream')

_.(numberStream)
.map(R.add(1))
.map(R.multiply(2))
.filter(R.gt(20))
.reduce(0, R.add)
.get()
.on('data', console.log)

License

MIT © Maurice Domínguez

About

High level streams library, provide a functional interface using the native Node streams.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors