An open API service indexing awesome lists of open source software.

https://github.com/jstransformers/jstransformer-html-minifier

HTMLMinifier support for JSTransformers.
https://github.com/jstransformers/jstransformer-html-minifier

Last synced: 8 months ago
JSON representation

HTMLMinifier support for JSTransformers.

Awesome Lists containing this project

README

          

# jstransformer-html-minifier

[HTMLMinifier](https://github.com/kangax/html-minifier) support for [JSTransformers](http://github.com/jstransformers).

[![Build Status](https://img.shields.io/travis/jstransformers/jstransformer-html-minifier/master.svg)](https://travis-ci.org/jstransformers/jstransformer-html-minifier)
[![Coverage Status](https://img.shields.io/codecov/c/github/jstransformers/jstransformer-html-minifier/master.svg)](https://codecov.io/gh/jstransformers/jstransformer-html-minifier)
[![Dependency Status](https://img.shields.io/david/jstransformers/jstransformer-html-minifier/master.svg)](http://david-dm.org/jstransformers/jstransformer-html-minifier)
[![NPM version](https://img.shields.io/npm/v/jstransformer-html-minifier.svg)](https://www.npmjs.org/package/jstransformer-html-minifier)

## Installation

npm install jstransformer-html-minifier

## API

```js
var htmlmin = require('jstransformer')(require('jstransformer-html-minifier'))

htmlmin.render('

html-minifier

', {
removeAttributeQuotes: true
}).body
//=> '

html-minifier

'
```

## License

MIT