chensenlai 10988628a0 语音房项目初始化 hace 5 años
..
test 10988628a0 语音房项目初始化 hace 5 años
.npmignore 10988628a0 语音房项目初始化 hace 5 años
History.md 10988628a0 语音房项目初始化 hace 5 años
Makefile 10988628a0 语音房项目初始化 hace 5 años
Readme.md 10988628a0 语音房项目初始化 hace 5 años
index.js 10988628a0 语音房项目初始化 hace 5 años
package.json 10988628a0 语音房项目初始化 hace 5 años

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