53 releases

new 0.3.4 Feb 7, 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 18744/week @ 2024-10-22 18030/week @ 2024-10-29 17613/week @ 2024-11-05 18992/week @ 2024-11-12 19084/week @ 2024-11-19 19435/week @ 2024-11-26 19714/week @ 2024-12-03 20314/week @ 2024-12-10 19220/week @ 2024-12-17 15843/week @ 2024-12-24 17761/week @ 2024-12-31 20735/week @ 2025-01-07 18981/week @ 2025-01-14 14870/week @ 2025-01-21 14452/week @ 2025-01-28 12208/week @ 2025-02-04

63,613 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