#minify #JS #HTML #CSS #minifier

bin+lib minifier

Minifier tool/lib for JS/CSS/JSON files

19 releases

0.0.19 Aug 15, 2018
0.0.18 Aug 15, 2018
0.0.17 Jul 30, 2018
0.0.14 Jun 25, 2018
0.0.3 Apr 19, 2017

#2 in Web programming

Download history 4603/week @ 2018-05-26 5742/week @ 2018-06-02 5332/week @ 2018-06-09 4737/week @ 2018-06-16 4863/week @ 2018-06-23 6214/week @ 2018-06-30 6347/week @ 2018-07-07 5996/week @ 2018-07-14 6699/week @ 2018-07-21 6001/week @ 2018-07-28 6897/week @ 2018-08-04 7292/week @ 2018-08-11 6918/week @ 2018-08-18

25,880 downloads per month
Used in 3 crates (2 directly)

MIT license

107KB
2.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

~348KB