flob

1.0.0 • Public • Published

flob

Build status Git tag NPM version Code style

Bind a redux middleware stack that has redux-flo at the top.

Installation

$ npm install flob

Usage

import flob from 'flob'
import rlog from 'redux-log'
 
let arr = []
let log = flob(rlog(arr))
 
log(function * () {
  yield 'hello'
  yield 'world'
})
 
arr // => ['hello', 'world']
 

API

flob(...mw)

  • mw - redux middleware

Returns: a function that dispatches actions to the middleware stack

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i flob

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • joshrtay