gulp-continuation

1.1.2 • Public • Published

gulp-continuation

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 gulp-continuation

Usage

For using with browserify there is continuatify transformer.

It supports gulp-sourcemaps, so use it if you want source maps.

var gulp = require('gulp');
var continuation = require('gulp-continuation');
 
gulp.task('js', function () {
    return gulp.src(['js/**/*.js'])
        .pipe(continuation())
        .pipe(gulp.dest('build'))
});

Options

You can pass all options available for continuation.js

Errors

gulp-continuation emits an 'error' event if there is unparseable code in the passed file. message property of 'error' contains description.

Package Sidebar

Install

npm i gulp-continuation

Weekly Downloads

1

Version

1.1.2

License

MIT

Unpacked Size

8 kB

Total Files

5

Last publish

Collaborators

  • alhimik45