Core library for Google Closure Tools tasks, providing Compiler (JS minification using the Closure Compiler), Builder (concatenation and optional compilation), and DepsWriter (dependency graph generation for deps.js files). Current version 0.1.10, last updated June 2015 (infrequent updates). Primarily used as a base for Grunt plugins (grunt-closure-tools) and other build systems (Mantri). Differentiators: integrates directly with Google Closure Library ecosystem, supports Java-based Closure Compiler and Python-based DepsWriter, but node >=0.8.0 only, no modern ESM support.
npm install task-closure-toolsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic usage of Compiler, Builder, and DepsWriter for compilation, bundling, and dependency generation.
Consider using official Closure Compiler npm package 'google-closure-compiler' or other modern build tools.
Ensure Java and Python are installed and available in PATH.
Install google-closure-library and pass its path (e.g., './node_modules/google-closure-library').
Refer to official Closure Compiler documentation for valid compilation_level and other options.
Run `npm install task-closure-tools` and use require('task-closure-tools') or import { ... } from 'task-closure-tools'.Install Java (JRE) version 8 or later and ensure java command is accessible.
Install Python 2.7 (older, may work) or Python 3 and ensure python command is in PATH.
Use named imports: import { Compiler, Builder, DepsWriter } from 'task-closure-tools'.Set closureLibraryPath option to the root of the installed google-closure-library package.
No dependency data recorded yet.