Skip to content

Latest commit

 

History

33 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minix

A straightforward minifier for JavaScript and CSS files, developed using Rust. This tool efficiently reduces the size of JS and CSS files by removing unnecessary characters, whitespace, and comments without affecting functionality. Utilizing Rust’s performance and safety features, it offers a fast and reliable solution for optimizing web assets, improving load times and overall website performance. Ideal for developers looking for a lightweight and effective way to minimize their codebase.

To Install using crates.io

cargo install minix

Basic example usage:

JS:

minix -i file.js -o file.min.js

# OR

minix -i js/*.js -o bundle.js

# OR, with --watch mode

minix -i js/*.js -o bundle.js -w

CSS:

minix -i file.css -o file.min.css

# OR

minix -i css/*.css -o bundle.css

# OR, with --watch mode

minix -i css/*.css -o bundle.css -w

About

A simple Rust-based minifier for JavaScript and CSS that efficiently reduces file size by removing unnecessary characters, whitespace, and comments without affecting functionality.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages