Skip to content
SPECIFICTION
Get listed

UglifyJS

github.com

Free plan LinuxAPISelf-hosted
Visit github.com
Spec score 7.3 #22 of 27 in JavaScript Build Tools

Spec sheet

Purpose
UglifyJS is a JavaScript parser, minifier, compressor and beautifier toolkit.Read 4 Oct 2026 · github.com
Intended users
The documented command-line and programmatic interfaces support developers using UglifyJS in build workflows or applications.Read 4 Oct 2026 · github.com
API
The API provides a configurable minify() function that can process JavaScript and return minified code, warnings or errors.Read 4 Oct 2026 · github.com
Security
The repository has a Security tab, but the opened security page does not state a security policy or compliance certification.Read 4 Oct 2026 · github.com
License
UglifyJS is released under a BSD license.Read 4 Oct 2026 · github.com
AST tools
The toolkit includes its own AST utilities and can import SpiderMonkey AST input; Acorn can be used for parsing.Read 4 Oct 2026 · github.com
CLI
The command-line tool accepts multiple input files and reads from standard input when no input file is specified.Read 4 Oct 2026 · github.com
Compatibility limit
The project says it does not try to be Internet Explorer, Chrome/Node.js V8, or Safari/WebKit proof by default; corresponding compatibility options are available.Read 4 Oct 2026 · github.com
Install
The project documents installing UglifyJS from npm for command-line or programmatic use.Read 4 Oct 2026 · github.com
Integration
The README documents npm and Node.js usage and describes using Acorn as an optional parser.Read 4 Oct 2026 · github.com
Language support
UglifyJS supports JavaScript and most ECMAScript features, and the README recommends transpiling more exotic syntax with tools such as Babel first.Read 4 Oct 2026 · github.com
Optimization caveat
The README documents compiler assumptions and warns that some transformations can alter behavior in particular cases.Read 4 Oct 2026 · github.com
Source maps
UglifyJS can generate source maps and compose mappings from compiled JavaScript back to original source files.Read 4 Oct 2026 · github.com

Plans and prices

UglifyJS Free BSD-licensed software · install via npm Read 4 Oct 2026 · github.com

Every UglifyJS plan and price →

Where Specifiction places it

Alternatives to UglifyJSAll alternatives →