summaryrefslogtreecommitdiffstats
path: root/vendor/minifier/README.md
blob: e9aa5bba610129d884c0539e8d4cf6b5b3f75df5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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:

```toml
[dependencies]
minifier = "^0.0.1"
```

Then import it into your code like this:

```rust
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!