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

#647 in Compression

Download history 10530/week @ 2024-01-05 10391/week @ 2024-01-12 11191/week @ 2024-01-19 13539/week @ 2024-01-26 18175/week @ 2024-02-02 17252/week @ 2024-02-09 17968/week @ 2024-02-16 15873/week @ 2024-02-23 16614/week @ 2024-03-01 18461/week @ 2024-03-08 17222/week @ 2024-03-15 17209/week @ 2024-03-22 16884/week @ 2024-03-29 15697/week @ 2024-04-05 15748/week @ 2024-04-12 13938/week @ 2024-04-19

64,689 downloads per month
Used in 100 crates (19 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