introspect-reduce
Version:
introspect the state of a reducible
38 lines (25 loc) • 870 B
Markdown
[![build status][1]][2] [![dependency status][3]][4]
[![browser support][5]][6]
introspect the state of a reducible
```js
var introspect = require("introspect-reduce")
var thing = introspect(someReducible(), "what is in thing?")
// introspect will log `what is in thing {{VALUE}}` for everything
// that comes out of `someReducible()`
fold(thing, function () {
// do stuff
})
```
`npm install introspect-reduce`
- Raynos
[]: https://secure.travis-ci.org/Colingo/introspect-reduce.png
[]: http://travis-ci.org/Colingo/introspect-reduce
[]: http://david-dm.org/Colingo/introspect-reduce/status.png
[]: http://david-dm.org/Colingo/introspect-reduce
[]: http://ci.testling.com/Colingo/introspect-reduce.png
[]: http://ci.testling.com/Colingo/introspect-reduce