rustc/vendor/minifier
2019-11-25 21:38:20 +00:00
..
src New upstream version 1.38.0+dfsg1 2019-11-25 21:38:20 +00:00
tests New upstream version 1.38.0+dfsg1 2019-11-25 21:38:20 +00:00
.cargo-checksum.json New upstream version 1.38.0+dfsg1 2019-11-25 21:38:20 +00:00
appveyor.yml New upstream version 1.32.0~beta.2+dfsg1 2018-12-16 10:13:16 -08:00
Cargo.lock New upstream version 1.38.0+dfsg1 2019-11-25 21:38:20 +00:00
Cargo.toml New upstream version 1.38.0+dfsg1 2019-11-25 21:38:20 +00:00
LICENSE New upstream version 1.32.0~beta.2+dfsg1 2018-12-16 10:13:16 -08:00
README.md New upstream version 1.32.0~beta.2+dfsg1 2018-12-16 10:13:16 -08:00

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!