Module minifier::js

source ·

Enums

Functions

Aggregate litteral strings. For instance, if the string litteral “Oh look over there!” appears more than once, a variable will be created with this value and used everywhere the string appears. Of course, this replacement is only performed when it allows to take less space.
Convenient function used to clean useless tokens in a token list.
Minifies a given JS source code.
Minifies a given JS source code and to replace keywords.
Simple function to get the untouched token list. Useful in case you want to perform some actions directly on it.