Browserify transform for continuation.js
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE.md
README.md
index.js
package.json
test.js

README.md

continuatify

A compiler for JavaScript asynchronous Continuation-Passing Style transformation

Installation

Install package with NPM and add it to your development dependencies:

npm install --save-dev continuatify

Usage

For using with gulp there is gulp-continuation plugin.

Command-line

$ browserify -t continuatify example/main.js > bundle.js

Api

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

var b = browserify('example/main.js');
b.transform('continuatify');

b.bundle().pipe(fs.createWriteStream('bundle.js'));

Options

You can pass all options available for continuation.js