https://github.com/alhimik45/continuatify
Browserify transform for continuation.js
https://github.com/alhimik45/continuatify
browserify continuation gulp javascript transformations
Last synced: 2 months ago
JSON representation
Browserify transform for continuation.js
- Host: GitHub
- URL: https://github.com/alhimik45/continuatify
- Owner: alhimik45
- License: mit
- Created: 2016-08-20T11:29:44.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-08-23T04:13:37.000Z (almost 9 years ago)
- Last Synced: 2025-03-11T22:31:34.832Z (3 months ago)
- Topics: browserify, continuation, gulp, javascript, transformations
- Language: JavaScript
- Homepage: https://github.com/BYVoid/continuation/
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 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](https://github.com/alhimik45/gulp-continuation) plugin.
### Command-line
```
$ browserify -t continuatify example/main.js > bundle.js
```### Api
``` 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'));
```## Options
You can pass all options available for [continuation.js](https://github.com/BYVoid/continuation/)