html-browser-minifier

0.1.5 • Public • Published

HTML cleaning tool that works in the browser based on https://github.com/kangax/html-minifier/

usage is

const minify = require('html-browser-minifier');
const minifiedText = minify(text, options);

Options are

{
  collapseBooleanAttributes = true,
  collapseWhitespace = true,
  removeNgAttributes = true,
  removeCssComments = true,
  removeHTMLComments = true,
  removeJS = true
}

Package Sidebar

Install

npm i html-browser-minifier

Weekly Downloads

2

Version

0.1.5

License

MIT

Unpacked Size

364 kB

Total Files

3

Last publish

Collaborators

  • miggy92