# @node-minify/google-closure-compiler

> google closure compiler plugin for @node-minify

Latest version **11.0.0** (published 2026-09-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install @node-minify/google-closure-compiler
pnpm add @node-minify/google-closure-compiler
yarn add @node-minify/google-closure-compiler
bun add @node-minify/google-closure-compiler
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 11.0.0 |
| Published | 2026-09-02 |
| First published | 2018-11-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=22.0.0 |
| Dependencies | 2 |
| Unpacked size | 30 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 520 |
| Author | Rodolphe Stoclin |
| Maintainers | srod |
| Keywords | compressor, minify, minifier, gcc, google closure compiler |

## Links

- npm: https://www.npmjs.com/package/@node-minify/google-closure-compiler
- Repository: https://github.com/srod/node-minify
- Homepage: https://github.com/srod/node-minify/tree/main/packages/google-closure-compiler#readme
- Issues: https://github.com/srod/node-minify/issues
- npm.io page: https://npm.io/package/@node-minify/google-closure-compiler

## Dependencies (2)

- [@node-minify/utils](https://npm.io/package/@node-minify/utils.md) 11.0.0
- [google-closure-compiler](https://npm.io/package/google-closure-compiler.md) 20240317.0.0

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

- 11.0.0 (latest) — 2026-09-02
- 10.0.0-next.0 (next) — 2024-11-16
- 10.5.0 — 2026-03-08
- 10.4.0 — 2026-01-22
- 10.3.0 — 2026-01-09
- 10.2.0 — 2025-12-31
- 10.1.1 — 2025-12-30
- 10.1.0 — 2025-12-28
- 10.0.2 — 2025-12-28
- 10.0.1 — 2025-12-28
- 10.0.0 — 2025-12-28
- 9.0.1 — 2024-11-12
- 9.0.0 — 2024-11-10
- 8.0.6 — 2023-04-15
- 8.0.5 — 2023-02-16
- … 23 more at https://npm.io/package/@node-minify/google-closure-compiler/versions

## README

<p align="center"><img src="https://raw.githubusercontent.com/srod/node-minify/main/static/node-minify.svg" width="348" alt="node-minify"></p>

<p align="center">A very light minifier Node.js module.</p>

<p align="center">
  <br>
  <a href="https://npmjs.org/package/@node-minify/google-closure-compiler"><img src="https://img.shields.io/npm/v/@node-minify/google-closure-compiler.svg" alt="npm version"></a>
  <a href="https://npmjs.org/package/@node-minify/google-closure-compiler"><img src="https://img.shields.io/npm/dm/@node-minify/google-closure-compiler.svg" alt="npm downloads"></a>
  <a href="https://github.com/srod/node-minify/actions"><img alt="Build Status" src="https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fsrod%2Fnode-minify%2Fbadge%3Fref%3Dmain&style=flat" /></a>
  <a href="https://codecov.io/gh/srod/node-minify"><img src="https://codecov.io/gh/srod/node-minify/branch/main/graph/badge.svg" alt="code coverage"></a>
</p>

# google-closure-compiler

`google-closure-compiler` is a plugin for [`node-minify`](https://github.com/srod/node-minify)

It allow you to compress JavaScript files.

## Installation

```bash
npm install @node-minify/core @node-minify/google-closure-compiler
```

## Usage

```js
import { minify } from '@node-minify/core';
import { gcc } from '@node-minify/google-closure-compiler';

await minify({
  compressor: gcc,
  input: 'foo.js',
  output: 'bar.js'
});
```

## Documentation

Visit https://node-minify.2clics.net/compressors/gcc.html for full documentation

## License

[MIT](https://github.com/srod/node-minify/blob/main/LICENSE)

---
_Source: https://npm.io/package/@node-minify/google-closure-compiler · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
