thunkoto
v0.0.0
Published
Prototype for confort work with thunkify
Downloads
1
Readme
thunkoto
Module for confort work with thunk module. It uses getter for create thunk.
Installation
$ npm install thunkoto
Example
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