Skip to content
This repository has been archived by the owner on Feb 17, 2024. It is now read-only.
/ minify-css Public archive

A small, fast, zero-config CSS minifier. No structural changes; only minifying.

License

Notifications You must be signed in to change notification settings

projectwallace/minify-css

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

minify-css

Warning

This repository is not maintained (it was never used actually). Please refer to format-css to minify your CSS.

Fast, small, zero-config library to minify CSS with basic rules. Simplicity, bundle size and runtime speed are more important than versatility and extensibility.

Installation

npm install @projectwallace/minify-css

Usage

import { minify } from "@projectwallace/minify-css";

let old_css = "/* Your CSS here */";
let new_css = minify(old_css);

TODO TODO TODO TODO TODO TODO TODO TODO TODO TODO TODO TODO TODO TODO TODO TODO Need more examples?

Acknowledgements

  • Thanks to CSSTree for providing the necessary parser and the interfaces for our CSS Types (the bold elements in the list above)

Related projects

About

A small, fast, zero-config CSS minifier. No structural changes; only minifying.

Resources

License

Stars

Watchers

Forks

Releases

No releases published