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

#55 in Web programming

Download history 16157/week @ 2024-08-04 16329/week @ 2024-08-11 15410/week @ 2024-08-18 16142/week @ 2024-08-25 16612/week @ 2024-09-01 15468/week @ 2024-09-08 15292/week @ 2024-09-15 16015/week @ 2024-09-22 15791/week @ 2024-09-29 16400/week @ 2024-10-06 15377/week @ 2024-10-13 18930/week @ 2024-10-20 17436/week @ 2024-10-27 17783/week @ 2024-11-03 18741/week @ 2024-11-10 19272/week @ 2024-11-17

75,642 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