# gulp-ccaas

> Gulp plugin for Closure Compiler As A Service

Latest version **0.0.1** (published 2016-01-17) · Apache-2.0 license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2016-01-17 |
| First published | 2016-01-17 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Sam Thorogood |
| Maintainers | samthor |
| Keywords | closure, compiler, compress, google, gulpplugin, minify |

## Links

- npm: https://www.npmjs.com/package/gulp-ccaas
- Repository: https://github.com/samthor/gulp-ccaas
- Homepage: https://github.com/samthor/gulp-ccaas#readme
- Issues: https://github.com/samthor/gulp-ccaas/issues
- npm.io page: https://npm.io/package/gulp-ccaas

## Dependencies (2)

- [through2](https://npm.io/package/through2.md) ^2.0.0
- [node-fetch](https://npm.io/package/node-fetch.md) ^1.3.3

## 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

- 0.0.1 (latest) — 2016-01-17

## README

# [gulp](http://gulpjs.com)-ccaas

Compiles JavaScript with the [Google Closure Compiler Service API](https://developers.google.com/closure/compiler/docs/api-ref?hl=en), run and hosted by Google.
Similar to [gulp-closure-compiler](https://github.com/steida/gulp-closure-compiler), but does not require Java or the compiler code directly.

## Install

```bash
npm install --save-dev gulp-ccaas
```

## Example

While there are many options for [the raw HTTP API](https://developers.google.com/closure/compiler/docs/api-ref), this plugin just compiles ES6 to ES5.

It takes two options- `strict` (default true) and `advanced` (default false).
For more information on the advanced mode, see [Advanced Compliation and Externs](https://developers.google.com/closure/compiler/docs/api-tutorial3).

```js
var gulp = require('gulp');
var closure = require('gulp-ccaas');

gulp.task('default', function() {
  return gulp.src('your-src.js')
      .pipe(closure({
        advanced: true,
        strict: false
      }))
      .pipe(gulp.dest('out'));
});
```

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