https://github.com/csgillespie/minifyhtml
A binding the Javascript-based HTML compressor/minifier
https://github.com/csgillespie/minifyhtml
html minifier r rstats
Last synced: 2 months ago
JSON representation
A binding the Javascript-based HTML compressor/minifier
- Host: GitHub
- URL: https://github.com/csgillespie/minifyhtml
- Owner: csgillespie
- Created: 2017-02-02T15:59:22.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-06-05T08:17:36.000Z (about 6 years ago)
- Last Synced: 2025-02-08T08:47:08.687Z (4 months ago)
- Topics: html, minifier, r, rstats
- Language: R
- Homepage: https://github.com/kangax/html-minifier
- Size: 321 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
Awesome Lists containing this project
README
---
output: github_document
---```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
)
```## HTML minifier
[](https://travis-ci.org/csgillespie/minifyHTML)
[](https://www.tidyverse.org/lifecycle/#maturing)
[](https://codecov.io/github/csgillespie/minifyHTML?branch=master)A binding to the HTML Javascript minifier library: [html-minifier](https://github.com/kangax/html-minifier)
### Usage
To install
```{r eval=FALSE}
devtools::install_github("csgillespie/minifyHTML")
```To use
```{r}
library("minifyHTML")
input = "baz"
minifyHTML(input)
```