thunkify

WebJar for thunkify

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

thunkify
Last Version

Last Version

2.1.2
Release Date

Release Date

Type

Type

jar
Description

Description

thunkify
WebJar for thunkify
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/tj/node-thunkify

Download thunkify

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/thunkify/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>thunkify</artifactId>
    <version>2.1.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/thunkify/
implementation 'org.webjars.npm:thunkify:2.1.2'
// https://jarcasting.com/artifacts/org.webjars.npm/thunkify/
implementation ("org.webjars.npm:thunkify:2.1.2")
'org.webjars.npm:thunkify:jar:2.1.2'
<dependency org="org.webjars.npm" name="thunkify" rev="2.1.2">
  <artifact name="thunkify" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='thunkify', version='2.1.2')
)
libraryDependencies += "org.webjars.npm" % "thunkify" % "2.1.2"
[org.webjars.npm/thunkify "2.1.2"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

thunkify

Turn a regular node function into one which returns a thunk, useful for generator-based flow control such as co.

Installation

$ npm install thunkify

Example

var thunkify = require('thunkify');
var fs = require('fs');

var read = thunkify(fs.readFile);

read('package.json', 'utf8')(function(err, str){
  
});

License

MIT

Versions

Version
2.1.2