#minify #JS #HTML #CSS #minifier

bin+lib minifier

Minifier tool/lib for JS/CSS/JSON files

26 releases

new 0.0.26 Jan 13, 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 4873/week @ 2018-10-25 6681/week @ 2018-11-01 5845/week @ 2018-11-08 6109/week @ 2018-11-15 6222/week @ 2018-11-22 5741/week @ 2018-11-29 6926/week @ 2018-12-06 6835/week @ 2018-12-13 6524/week @ 2018-12-20 5407/week @ 2018-12-27 5406/week @ 2019-01-03 5192/week @ 2019-01-10 5408/week @ 2019-01-17

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

MIT license

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

~346KB