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
- Host: GitHub
- URL: https://github.com/juancarlospaco/nim-css-html-minify
- Owner: juancarlospaco
- License: mit
- Created: 2018-11-05T17:01:28.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-18T08:43:08.000Z (about 6 years ago)
- Last Synced: 2025-04-12T00:43:15.744Z (about 1 month ago)
- Topics: css, css3, html, html5, minify, minify-css, minify-html, nim, nim-lang
- Language: Nim
- Size: 7.81 KB
- Stars: 8
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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