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

#31 in Web programming

Download history 20008/week @ 2024-12-09 19814/week @ 2024-12-16 16079/week @ 2024-12-23 17111/week @ 2024-12-30 20473/week @ 2025-01-06 19626/week @ 2025-01-13 15367/week @ 2025-01-20 14451/week @ 2025-01-27 13959/week @ 2025-02-03 14618/week @ 2025-02-10 11398/week @ 2025-02-17 11035/week @ 2025-02-24 12715/week @ 2025-03-03 11438/week @ 2025-03-10 10672/week @ 2025-03-17 9840/week @ 2025-03-24

45,679 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