49 releases

0.3.0 Nov 1, 2023
0.2.2 Aug 16, 2022
0.2.1 Jun 6, 2022
0.0.43 Mar 7, 2022
0.0.3 Apr 19, 2017

#643 in Compression

Download history 11572/week @ 2023-12-12 10556/week @ 2023-12-19 8088/week @ 2023-12-26 9187/week @ 2024-01-02 10397/week @ 2024-01-09 10792/week @ 2024-01-16 11169/week @ 2024-01-23 16952/week @ 2024-01-30 18467/week @ 2024-02-06 17406/week @ 2024-02-13 17200/week @ 2024-02-20 15528/week @ 2024-02-27 18216/week @ 2024-03-05 17985/week @ 2024-03-12 17188/week @ 2024-03-19 14404/week @ 2024-03-26

70,125 downloads per month
Used in 54 crates (18 directly)

MIT license

170KB
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–500KB