rustc/vendor/minifier-0.3.2
2025-01-11 15:57:26 +01:00
..
src New upstream version 1.84.0+dfsg1 2025-01-11 15:57:26 +01:00
tests New upstream version 1.84.0+dfsg1 2025-01-11 15:57:26 +01:00
.cargo-checksum.json New upstream version 1.84.0+dfsg1 2025-01-11 15:57:26 +01:00
Cargo.lock New upstream version 1.84.0+dfsg1 2025-01-11 15:57:26 +01:00
Cargo.toml New upstream version 1.84.0+dfsg1 2025-01-11 15:57:26 +01:00
LICENSE New upstream version 1.84.0+dfsg1 2025-01-11 15:57:26 +01:00
README.md New upstream version 1.84.0+dfsg1 2025-01-11 15:57:26 +01:00

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.2"

WARNING!!

Please be aware that this is still at a very early stage of development so you shouldn't rely on it too much!