0.0.0 • Published 9 years ago

thunkoto v0.0.0

Weekly downloads
1
License
ISC
Repository
-
Last release
9 years ago

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