Docs.rs
minify-js-0.5.1
minify-js 0.5.1
Docs.rs crate page
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
wilsonzlin
Dependencies
lazy_static ^1.4
normal
parse-js ^0.13.1
normal
Versions
66.67%
of the crate is documented
Go to latest version
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
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Crate minify_js
Version 0.5.1
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.