# node-thunkify **Repository Path**: mirrors_struCoder/node-thunkify ## Basic Information - **Project Name**: node-thunkify - **Description**: Turn a regular node function into one which returns a thunk - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-18 - **Last Updated**: 2026-02-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # thunkify Turn a regular node function into one which returns a thunk, useful for generator-based flow control such as [co](https://github.com/visionmedia/co). ## Installation ``` $ npm install thunkify ``` ## Example ```js var thunkify = require('thunkify'); var fs = require('fs'); var read = thunkify(fs.readFile); read('package.json', 'utf8')(function(err, str){ }); ``` # License MIT