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

#33 in Web programming

Download history 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 11124/week @ 2025-03-24 12547/week @ 2025-03-31 11690/week @ 2025-04-07 11983/week @ 2025-04-14 11794/week @ 2025-04-21 11649/week @ 2025-04-28 11233/week @ 2025-05-05 11729/week @ 2025-05-12 10543/week @ 2025-05-19

46,426 downloads per month
Used in 111 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