thunkoto

0.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i thunkoto

Weekly Downloads

0

Version

0.0.0

License

ISC

Last publish

Collaborators

  • ibakaidov