Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/px86/css-minifier

A CSS minifier in C++.
https://github.com/px86/css-minifier

begineer-friendly css-minifier css-minify

Last synced: 26 days ago
JSON representation

A CSS minifier in C++.

Awesome Lists containing this project

README

        

#+TITLE: Minify - A CSS minifier
#+AUTHOR: Pushkar Raj
#+DATE: [2022-02-03 Thu]

Remove comments and unnecessary whitespaces from a CSS file.

* Compilation

It's very simple.

#+begin_src shell
g++ -std=c++11 -o minify minify.cpp
#+end_src

or, if you have =GNU Make= installed, run =make= to compile the program, and =make test= for running the program on the =example.css= file.

#+begin_src shell
make test
#+end_src

* Usage

#+begin_src shell
minify
#+end_src