JSPM

  • Created
  • Published
  • Downloads 30250
  • Score
    100M100P100Q164734F
  • License MIT

Minimize HTML

Package Exports

  • minimize

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (minimize) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

HTML minifier

Minimize is a HTML minifier based on the node-htmlparser. This depedency will ensure output is solid and correct.

Features

Usage

To get the minified content make sure to provide a callback.

var minimize = require('minimize');

minimize(content, function (data) {
  console.log(data);
});