#minify #JS #HTML #CSS #minifier

bin+lib minifier

Minifier tool/lib for JS/CSS/JSON files

31 releases

0.0.31 Apr 21, 2019
0.0.29 Mar 26, 2019
0.0.21 Dec 16, 2018
0.0.20 Oct 6, 2018
0.0.3 Apr 19, 2017

#86 in Template engine

Download history 5341/week @ 2019-01-06 5586/week @ 2019-01-13 5680/week @ 2019-01-20 5099/week @ 2019-01-27 7184/week @ 2019-02-03 7586/week @ 2019-02-10 5923/week @ 2019-02-17 7081/week @ 2019-02-24 5607/week @ 2019-03-03 6743/week @ 2019-03-10 5104/week @ 2019-03-17 6288/week @ 2019-03-24 6586/week @ 2019-03-31 7006/week @ 2019-04-07 5605/week @ 2019-04-14

26,759 downloads per month
Used in 7 crates (3 directly)

MIT license

158KB
3.5K 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

~331KB