🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@node-minify/google-closure-compiler

Package Overview
Dependencies
Maintainers
0
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@node-minify/google-closure-compiler

google closure compiler plugin for @node-minify

9.0.1
latest
Source
npm
Version published
Weekly downloads
1.3K
-8.58%
Maintainers
0
Weekly downloads
 
Created
Source

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

Keywords

compressor

FAQs

Package last updated on 12 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts