# gulp-continuation

> Gulp plugin for continuation.js: A compiler for JavaScript asynchronous Continuation-Passing Style transformation

Latest version **1.1.2** (published 2018-12-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install gulp-continuation
pnpm add gulp-continuation
yarn add gulp-continuation
bun add gulp-continuation
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.2 |
| Published | 2018-12-16 |
| First published | 2016-08-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 7.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Alexey Kolpakov |
| Maintainers | alhimik45 |
| Keywords | gulpplugin, continuation, asynchronous, async, transformation, monad, coffeescript, livescript, typescript, cps, compile |

## Links

- npm: https://www.npmjs.com/package/gulp-continuation
- Repository: https://github.com/alhimik45/gulp-continuation
- Homepage: https://github.com/alhimik45/gulp-continuation/
- Issues: https://github.com/alhimik45/gulp-continuation/issues
- npm.io page: https://npm.io/package/gulp-continuation

## Dependencies (4)

- [through2](https://npm.io/package/through2.md) ^2.0.1
- [gulp-util](https://npm.io/package/gulp-util.md) ^3.0.7
- [continuation](https://npm.io/package/continuation.md) ^0.1.7
- [vinyl-sourcemaps-apply](https://npm.io/package/vinyl-sourcemaps-apply.md) ^0.2.1

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.1.2 (latest) — 2018-12-16
- 1.1.1 — 2016-08-22
- 1.1.0 — 2016-08-22
- 1.0.0 — 2016-08-20

## README

# 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](https://github.com/alhimik45/continuatify) transformer.

It supports [gulp-sourcemaps](https://github.com/floridoo/gulp-sourcemaps), so use it if you want source maps.

```javascript
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](https://github.com/BYVoid/continuation/)

## Errors

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

---
_Source: https://npm.io/package/gulp-continuation · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
