css_html_minify

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

Pure Nim score 15/100 · tests present · no docs generated

Summary

Latest Version 0.2.0
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-08-26 06:47

Tags

Authors

  • Juan Carlos

Installation

nimble install css_html_minify
choosenim install css_html_minify
git clone https://github.com/juancarlospaco/nim-css-html-minify

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
css_html_minify - - - - - - -

Dependencies

Package Version Optional
nim >= 0.19.4 No

README

CSS-HTML-Minify

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

Use

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