Docs.rs
minify-js-0.6.0
minify-js 0.6.0
Permalink
Docs.rs crate page
Apache-2.0
Links
Homepage
Repository
Crates.io
Source
Owners
wilsonzlin
Dependencies
aho-corasick ^0.7
normal
lazy_static ^1.4
normal
parse-js ^0.20.1
normal
Versions
66.67%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
minify_js
0.6.0
All Items
Structs
Enums
Functions
?
Crate
minify_js
source
·
[
−
]
Structs
Session
SyntaxError
Enums
TopLevelMode
Functions
emit
Emits UTF-8 JavaScript code from a parsed AST in a minified way. This allows custom introspections and transforms on the tree before emitting it to code.
minify
Minifies UTF-8 JavaScript code, represented as an array of bytes.