co-lodash
Extend lodash to make it work with co.
API
- _.extendProperties(target, src)
- _.isGenerator(obj)
- _.isAsyncFunction(obj)
- _.sleep(mill)
- _.coEach(collection, fn) // fn params (item, index, collection)
- _.coMap(collection, fn) // fn params (item, index, collection)
- _.coReduce(collection, fn, memo) // fn params (memo, item, index, collection)
Example
var _ = ; // yes, it can do exactly the same as lodash, because it is lodash with some extendsions. console; ;