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

https://github.com/juancarlospaco/nim-css-html-minify

HTML & CSS Minify Lib & App based on Regexes & parallel MultiReplaces
https://github.com/juancarlospaco/nim-css-html-minify

css css3 html html5 minify minify-css minify-html nim nim-lang

Last synced: about 1 month ago
JSON representation

HTML & CSS Minify Lib & App based on Regexes & parallel MultiReplaces

Awesome Lists containing this project

README

        

# CSS-HTML-Minify

- HTML & CSS Minify Lib & App based on Regexes & parallel MultiReplaces. **Pull Requests welcome.**

# Use

```nim
import css_html_minify
echo minifyHtml(readFile("example.html")) ## HTML
echo minifyCss(readFile("example.css")) ## CSS
```

- No OS-specific code, so it should work on Linux, Windows and Mac. Not JS.
- Run the module itself for an Example.
- If you know Regex or Minification it needs Pull Requests to improve!

# Install

- `nimble install css_html_minify`

# Requisites

- None