36 releases

0.0.36 Feb 24, 2020
0.0.34 Nov 21, 2019
0.0.33 Jul 4, 2019
0.0.29 Mar 26, 2019
0.0.3 Apr 19, 2017

#7 in Template engine

Download history 5944/week @ 2019-12-02 5551/week @ 2019-12-09 5323/week @ 2019-12-16 5406/week @ 2019-12-23 4576/week @ 2019-12-30 5378/week @ 2020-01-06 5638/week @ 2020-01-13 5449/week @ 2020-01-20 4931/week @ 2020-01-27 5480/week @ 2020-02-03 5114/week @ 2020-02-10 5119/week @ 2020-02-17 5203/week @ 2020-02-24 5144/week @ 2020-03-02 5098/week @ 2020-03-09 6069/week @ 2020-03-16

22,756 downloads per month
Used in 9 crates (3 directly)

MIT license

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

~16–265KB