knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)

HTML minifier

Build Status Lifecycle: maturing Coverage status A binding to the HTML Javascript minifier library: html-minifier

Usage

To install

devtools::install_github("csgillespie/minifyHTML")

To use

library("minifyHTML")
input = "<!-- foo --><div>baz</div><!-- bar\n\n moo -->"
minifyHTML(input)


csgillespie/minifyHTML documentation built on June 10, 2019, 10 a.m.