#minify #JS #HTML #CSS #minifier

bin+lib minifier

Minifier tool/lib for JS/CSS/JSON files

28 releases

0.0.28 Jan 24, 2019
0.0.21 Dec 16, 2018
0.0.20 Oct 6, 2018
0.0.17 Jul 30, 2018
0.0.3 Apr 19, 2017

#4 in Web programming

Download history 6215/week @ 2018-11-14 6310/week @ 2018-11-21 6575/week @ 2018-11-28 6511/week @ 2018-12-05 6559/week @ 2018-12-12 6200/week @ 2018-12-19 5129/week @ 2018-12-26 5265/week @ 2019-01-02 5443/week @ 2019-01-09 5538/week @ 2019-01-16 5494/week @ 2019-01-23 5626/week @ 2019-01-30 8386/week @ 2019-02-06 6081/week @ 2019-02-13 6551/week @ 2019-02-20

25,269 downloads per month
Used in 5 crates (3 directly)

MIT license

151KB
3K SLoC

Build Status Build status

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

~317KB