predux
predux is an interface for building redux-like streams. It uses reduxer and optionally ES6 proxies (works in Node.js v6.2.1).
example
var predux = var counter = preduxcounter state+numcounter state-num counter counter // 1counter // 2counter // 1
If you'd rather not use proxies, the following is equivalent to the above.
var counter = predux()
counter.set('increment', (state=0, num=1) => state+num)
counter.set('decrement', (state=0, num=1) => state-num)
counter
is an object stream.
install
npm install predux