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

8.0.5 • 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/

    Install

    npm i @node-minify/core

    DownloadsWeekly Downloads

    8,267

    Version

    8.0.5

    License

    MIT

    Unpacked Size

    56.3 kB

    Total Files

    9

    Last publish

    Collaborators

    • srod