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

8.0.6 • Public • Published

node-minify

A very light minifier Node.js module.


Build Status

node-minify

Installation

npm install @node-minify/core @node-minify/uglify-js

Usage

const minify = require('@node-minify/core');
const uglifyJS = require('@node-minify/uglify-js');

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

Documentation

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

License

MIT

/@node-minify/core/

    Package Sidebar

    Install

    npm i @node-minify/core

    Weekly Downloads

    33,192

    Version

    8.0.6

    License

    MIT

    Unpacked Size

    57.4 kB

    Total Files

    9

    Last publish

    Collaborators

    • srod