#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 5939/week @ 2018-08-12 7216/week @ 2018-08-19 6731/week @ 2018-08-26 5822/week @ 2018-09-02 5690/week @ 2018-09-09 5768/week @ 2018-09-16 5778/week @ 2018-09-23 6367/week @ 2018-09-30 5942/week @ 2018-10-07 5686/week @ 2018-10-14 6413/week @ 2018-10-21 6267/week @ 2018-10-28 5327/week @ 2018-11-04

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

MIT license

110KB
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

~339KB