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

#45 in Web programming

Download history 18879/week @ 2024-11-20 19708/week @ 2024-11-27 19740/week @ 2024-12-04 20176/week @ 2024-12-11 18636/week @ 2024-12-18 16075/week @ 2024-12-25 18410/week @ 2025-01-01 20502/week @ 2025-01-08 18663/week @ 2025-01-15 14619/week @ 2025-01-22 14152/week @ 2025-01-29 14411/week @ 2025-02-05 14089/week @ 2025-02-12 10935/week @ 2025-02-19 11627/week @ 2025-02-26 10094/week @ 2025-03-05

48,889 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