Have ideas to improve npm?Join in the discussion! »

    @node-minify/html-minifier

    6.2.0 • Public • Published

    node-minify

    A very light minifier Node.js module.


    Build Status

    html-minifier

    html-minifier is a plugin for node-minify

    It allow you to compress HTML files.

    Installation

    npm install @node-minify/core @node-minify/html-minifier

    Usage

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

    Documentation

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

    License

    MIT

    Install

    npm i @node-minify/html-minifier

    DownloadsWeekly Downloads

    980

    Version

    6.2.0

    License

    MIT

    Unpacked Size

    5.03 kB

    Total Files

    4

    Last publish

    Collaborators

    • avatar