47 releases

0.2.2 Aug 16, 2022
0.2.1 Jun 6, 2022
0.1.0 May 24, 2022
0.0.43 Mar 7, 2022
0.0.3 Apr 19, 2017

#52 in Web programming

Download history 6891/week @ 2022-11-30 7862/week @ 2022-12-07 6925/week @ 2022-12-14 6145/week @ 2022-12-21 7031/week @ 2022-12-28 7490/week @ 2023-01-04 7710/week @ 2023-01-11 6977/week @ 2023-01-18 8407/week @ 2023-01-25 7502/week @ 2023-02-01 8050/week @ 2023-02-08 8622/week @ 2023-02-15 7929/week @ 2023-02-22 8564/week @ 2023-03-01 8633/week @ 2023-03-08 7695/week @ 2023-03-15

34,203 downloads per month
Used in 32 crates (15 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.0.1"

Then import it into your code like this:

extern crate minifier;

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

~225KB