Skip to content

Commit

Permalink
update README.md 📋 ..
Browse files Browse the repository at this point in the history
  • Loading branch information
3imed-jaberi committed Jul 8, 2020
1 parent 91b05bd commit d3ff601
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# [Koa HTML Minifier][repo]
# Koa HTML Minifier

Middleware that minifies your HTML responses using [html-minifier-terser][html-minifier-terser-repo].
It uses `html-minifier-terser`'s default options which are all turned off by default,
so you __have__ to set the options otherwise it's not going to do anything.

[![NPM version][npm-img]][npm-url]
[![NPM Downloads][downloads-image]][npm-url]
[![Build status][travis-img]][travis-url]
[![Test coverage][coveralls-img]][coveralls-url]
[![License][license-img]][license-url]
Expand Down Expand Up @@ -33,7 +32,7 @@ app.use(require('koa-html-minifier')({

### Options

See: https://github.com/DanielRuf/html-minifier-terser#minification-comparison
See: https://github.com/DanielRuf/html-minifier-terser#options-quick-reference

## Contributors

Expand All @@ -44,7 +43,7 @@ See: https://github.com/DanielRuf/html-minifier-terser#minification-comparison
| **João Carmona** | |


[npm-img]: https://img.shields.io/npm/v/@koa/html-minifier.svg?style=flat-square
[npm-img]: https://img.shields.io/npm/v/koa-html-minifier.svg?style=flat-square
[npm-url]: https://npmjs.org/package/koa-html-minifier

[travis-img]: https://img.shields.io/travis/koajs/html-minifier.svg?style=flat-square
Expand All @@ -56,5 +55,4 @@ See: https://github.com/DanielRuf/html-minifier-terser#minification-comparison
[license-img]: https://img.shields.io/badge/license-MIT-green.svg?style=flat-square
[license-url]: LICENSE

[github-repo]: https://github.com/koajs/html-minifier
[html-minifier-terser-repo]: https://github.com/DanielRuf/html-minifier-terser

0 comments on commit d3ff601

Please sign in to comment.