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

#57 in Web programming

Download history 15625/week @ 2024-09-27 16435/week @ 2024-10-04 15990/week @ 2024-10-11 17754/week @ 2024-10-18 17446/week @ 2024-10-25 17902/week @ 2024-11-01 18648/week @ 2024-11-08 18728/week @ 2024-11-15 18954/week @ 2024-11-22 19769/week @ 2024-11-29 20377/week @ 2024-12-06 19761/week @ 2024-12-13 17400/week @ 2024-12-20 16332/week @ 2024-12-27 19409/week @ 2025-01-03 17784/week @ 2025-01-10

74,113 downloads per month
Used in 110 crates (21 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