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

#29 in Web programming

Download history 16259/week @ 2024-12-22 16987/week @ 2024-12-29 20423/week @ 2025-01-05 19889/week @ 2025-01-12 16010/week @ 2025-01-19 14337/week @ 2025-01-26 14038/week @ 2025-02-02 14540/week @ 2025-02-09 11862/week @ 2025-02-16 11119/week @ 2025-02-23 12536/week @ 2025-03-02 11358/week @ 2025-03-09 10771/week @ 2025-03-16 11074/week @ 2025-03-23 12536/week @ 2025-03-30 10251/week @ 2025-04-06

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