@node-minify/terser

    6.2.0 • Public • Published

    node-minify

    A very light minifier Node.js module.


    Build Status

    terser

    terser is a plugin for node-minify

    It allow you to compress JavaScript files.

    Installation

    npm install @node-minify/core @node-minify/terser

    Usage

    const minify = require('@node-minify/core');
    const terser = require('@node-minify/terser');
    
    minify({
      compressor: terser,
      input: 'foo.js',
      output: 'bar.js',
      callback: function(err, min) {}
    });

    Documentation

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

    License

    MIT

    Install

    npm i @node-minify/terser

    DownloadsWeekly Downloads

    717

    Version

    6.2.0

    License

    MIT

    Unpacked Size

    4.72 kB

    Total Files

    4

    Last publish

    Collaborators

    • avatar