gulp-continuation
Gulp plugin for continuation.js: A compiler for JavaScript asynchronous Continuation-Passing Style transformation
Last updated 2 years ago by alhimik45 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install gulp-continuation 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 1.1.2                                ...           latest (2 years ago)

4 Versions

  • 1.1.2                                ...           2 years ago
  • 1.1.1                                ...           4 years ago
  • 1.1.0                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 2
Last Day 0
Last Week 1
Last Month 1
Dependencies (4)
Dev Dependencies (2)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |