co-common
Simple wrapper to co and relate library: co-fs, co-wait, thunkify, thunker, defer.
Installation
$ npm install co-common
Example
Read a file
var co = ;var fs = cofs; ;
Include Library
Relate library can be referred as co's attribute.
- co
- thunkify -- Turn a regular node function into one which returns a thunk
- thunker -- Thunker takes module and returns Thunked API
- co-wait -- setTimeout generator style
- defer -- setImmediate and stuff with generators
- co-fs -- nodejs core fs module thunk wrappers for "co"
More
For more co
relate library visite here.