APPLE 025c69e553 wesmiler 点什么广告 %!s(int64=3) %!d(string=hai) anos
..
test 025c69e553 wesmiler 点什么广告 %!s(int64=3) %!d(string=hai) anos
.npmignore 025c69e553 wesmiler 点什么广告 %!s(int64=3) %!d(string=hai) anos
History.md 025c69e553 wesmiler 点什么广告 %!s(int64=3) %!d(string=hai) anos
Makefile 025c69e553 wesmiler 点什么广告 %!s(int64=3) %!d(string=hai) anos
Readme.md 025c69e553 wesmiler 点什么广告 %!s(int64=3) %!d(string=hai) anos
index.js 025c69e553 wesmiler 点什么广告 %!s(int64=3) %!d(string=hai) anos
package.json 025c69e553 wesmiler 点什么广告 %!s(int64=3) %!d(string=hai) anos

Readme.md

thunkify

Turn a regular node function into one which returns a thunk, useful for generator-based flow control such as co.

Installation

$ npm install thunkify

Example

var thunkify = require('thunkify');
var fs = require('fs');

var read = thunkify(fs.readFile);

read('package.json', 'utf8')(function(err, str){
  
});

License

MIT