November: Procrastination Month

    html-minifier-es6
    TypeScript icon, indicating that this package has built-in type declarations

    3.5.9 • Public • Published

    Html-Minifier for ES6 (incl. TS definitions)

    This is a fork that adds a quick & dumb uglifying support for ES6

    Actual repo

    https://github.com/kangax/html-minifier

    How to use

    Install using the following command

    npm install html-minifier-es6
    

    Enable it using "es6" in minifyJS options like the following example

    minify(html, {
      removeComments: true,
      minifyJS: "es6", // <------
      collapseWhitespace: true
    });
    

    Install

    npm i html-minifier-es6

    DownloadsWeekly Downloads

    1

    Version

    3.5.9

    License

    MIT

    Unpacked Size

    80.7 kB

    Total Files

    10

    Last publish

    Collaborators

    • crafter999