2.0.0 • Published 8 years ago

redux-log v2.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
8 years ago

redux-log

Build status Git tag NPM version Code style

Simple log of redux actions, good for testing.

Installation

$ npm install redux-log

Usage

import reduxLog from 'redux-log'
import flow, {flo} from 'redux-flo'
import bind from '@f/bind-middleware'

var log = []
var io = bind([reduxLog(log)])

io({type: 'FETCH'})
log // => [{type: 'FETCH'}]

API

reduxLog(log)

  • log - an array to store the actions in

Returns: redux style middleware

License

MIT