47 releases

Uses new Rust 2021

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

#36 in Web programming

Download history 7271/week @ 2022-06-13 6803/week @ 2022-06-20 7714/week @ 2022-06-27 7106/week @ 2022-07-04 6478/week @ 2022-07-11 7243/week @ 2022-07-18 6888/week @ 2022-07-25 7056/week @ 2022-08-01 6914/week @ 2022-08-08 6645/week @ 2022-08-15 7675/week @ 2022-08-22 7673/week @ 2022-08-29 7063/week @ 2022-09-05 7107/week @ 2022-09-12 7557/week @ 2022-09-19 6569/week @ 2022-09-26

29,119 downloads per month
Used in 27 crates (11 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

~230KB