# google/closure-compiler-js

Package for the JS version of closure-compiler for use via NPM

Repository: https://github.com/google/closure-compiler-js
Canonical: https://ross.abutalabs.com/products/closure-compiler-js
Homepage: https://github.com/google/closure-compiler
Language: JavaScript
License: Apache-2.0
License Family: permissive
Archived: true
Last push: 2020-07-27T23:41:18+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3702, "days_push": 2228, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1832, forks 61 (observed 2026-08-28T04:05:42.306727+00:00)

## What it is
An npm package exposing the pure-JavaScript version of Google Closure Compiler, allowing JavaScript checking, transpilation, optimization, and minification without requiring Java. It provides a programmatic API, CLI, and webpack/gulp plugins, but is now deprecated in favor of the main google-closure-compiler npm package.

## Use cases
- minify javascript without installing java
- compile es6 to es5 in node
- check javascript for syntax and type errors
- compress javascript in a webpack build
- optimize javascript in a gulp pipeline
- run closure compiler entirely in javascript

## When to choose
- you need Closure Compiler in a Java-free JavaScript environment and are pinned to this legacy package

## When to avoid
- starting a new project - use the google-closure-compiler npm package instead
- you need full feature parity or performance of the Java implementation
- you need actively maintained tooling

## Facets
- artifact type: library
- maturity: abandoned
- function: compiler, build-tool, linter, developer-tools
- domain: web-development, frontend, developer-tools
- platform: cli, cross-platform
- tags: minification, javascript-compiler, deprecated, webpack-plugin, gulp-plugin, es6-to-es5, type-checking, tree-shaking, javascript, nodejs

## Member repositories
- google/closure-compiler-js (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:42.306727+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:19:09.380802+00:00, confidence not recorded.
  - readme: https://github.com/google/closure-compiler-js (fetched 2026-08-28T04:05:42.306727+00:00, sha 6b65102eee47)
  - homepage: https://github.com/google/closure-compiler (fetched 2026-08-29T10:57:53.770023+00:00, sha c16ed5e1b1df)
- Data as of 2026-08-30T08:39:29.467469+00:00.
