A compiler for JavaScript asynchronous Continuation-Passing Style transformation
Install package with NPM and add it to your development dependencies:
npm install --save-dev continuatify
For using with gulp there is gulp-continuation plugin.
$ browserify -t continuatify example/main.js > bundle.js
var browserify = require('browserify');
var fs = require('fs');
var b = browserify('example/main.js');
b.transform('continuatify');
b.bundle().pipe(fs.createWriteStream('bundle.js'));
You can pass all options available for continuation.js