@node-minify/google-closure-compiler
TypeScript icon, indicating that this package has built-in type declarations

9.0.1 • Public • Published

node-minify

A very light minifier Node.js module.


Build Status

google-closure-compiler

google-closure-compiler is a plugin for node-minify

It allow you to compress JavaScript files.

Installation

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

Usage

const minify = require('@node-minify/core');
const gcc = require('@node-minify/google-closure-compiler');

minify({
  compressor: gcc,
  input: 'foo.js',
  output: 'bar.js',
  callback: function (err, min) {}
});

Documentation

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

License

MIT

Package Sidebar

Install

npm i @node-minify/google-closure-compiler

Weekly Downloads

1,312

Version

9.0.1

License

MIT

Unpacked Size

20 kB

Total Files

9

Last publish

Collaborators

  • srod