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

#28 in Web programming

Download history 16332/week @ 2024-12-27 19409/week @ 2025-01-03 20880/week @ 2025-01-10 17102/week @ 2025-01-17 14544/week @ 2025-01-24 14083/week @ 2025-01-31 13945/week @ 2025-02-07 13408/week @ 2025-02-14 10676/week @ 2025-02-21 12340/week @ 2025-02-28 11692/week @ 2025-03-07 11342/week @ 2025-03-14 10633/week @ 2025-03-21 12147/week @ 2025-03-28 11697/week @ 2025-04-04 10283/week @ 2025-04-11

46,408 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