54 releases

0.3.5 Feb 17, 2025
0.3.2 Nov 10, 2024
0.3.0 Nov 1, 2023
0.2.2 Aug 16, 2022
0.0.3 Apr 19, 2017

#35 in Web programming

Download history 14452/week @ 2025-01-28 14368/week @ 2025-02-04 14050/week @ 2025-02-11 11241/week @ 2025-02-18 11289/week @ 2025-02-25 12320/week @ 2025-03-04 11741/week @ 2025-03-11 10618/week @ 2025-03-18 11323/week @ 2025-03-25 12384/week @ 2025-04-01 11686/week @ 2025-04-08 11637/week @ 2025-04-15 12098/week @ 2025-04-22 11995/week @ 2025-04-29 10764/week @ 2025-05-06 10127/week @ 2025-05-13

46,423 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.8–1.5MB
~23K SLoC