0.0.0 • Published 10 years ago
thunkoto v0.0.0
thunkoto
Module for confort work with thunk module. It uses getter for create thunk.
Installation
$ npm install thunkotoExample
var fs = require('fs');
require('thunkoto')();
fs.readFile.thunkify('package.json', 'utf8')(function(err, str){
});vs
var thunkify = require('thunkify');
var fs = require('fs');
var read = thunkify(fs.readFile);
read('package.json', 'utf8')(function(err, str){
});License
MIT
0.0.0
10 years ago