51 releases

0.3.2 Nov 10, 2024
0.3.0 Nov 1, 2023
0.2.2 Aug 16, 2022
0.2.1 Jun 6, 2022
0.0.3 Apr 19, 2017

#59 in Web programming

Download history 15660/week @ 2024-08-20 16780/week @ 2024-08-27 16230/week @ 2024-09-03 15406/week @ 2024-09-10 14970/week @ 2024-09-17 16175/week @ 2024-09-24 16067/week @ 2024-10-01 16307/week @ 2024-10-08 15533/week @ 2024-10-15 18744/week @ 2024-10-22 18030/week @ 2024-10-29 17613/week @ 2024-11-05 18992/week @ 2024-11-12 19084/week @ 2024-11-19 19435/week @ 2024-11-26 19583/week @ 2024-12-03

79,951 downloads per month
Used in 109 crates (20 directly)

MIT license

175KB
4K SLoC

minifier-rs

Minifier tool/lib for JS/CSS/JSON files.

This crate provides both a library and binary, depending on your needs.

Usage

To use the binary, just run like this:

> cargo run test.js

To use the library, add it into your Cargo.toml file like this:

[dependencies]
minifier = "0.2"

WARNING!!

Please be aware that this is still at a very early stage of development so you shouldn't rely on it too much!

Dependencies

~0.9–1.5MB
~23K SLoC