- Home
- Code Formatting Tools
- UglifyJS
On the recordRead 4 Oct 202613 facts
UglifyJS
Plans and prices
UglifyJS
Free
BSD-licensed software · install via npm
Read 4 Oct 2026 · github.com
On the record
- API
- The API provides a configurable minify() function that can process JavaScript and return minified code, warnings or errors.github.com · read 4 Oct 2026
- AST tools
- The toolkit includes its own AST utilities and can import SpiderMonkey AST input; Acorn can be used for parsing.github.com · read 4 Oct 2026
- CLI
- The command-line tool accepts multiple input files and reads from standard input when no input file is specified.github.com · read 4 Oct 2026
- 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.github.com · read 4 Oct 2026
- Install
- The project documents installing UglifyJS from npm for command-line or programmatic use.github.com · read 4 Oct 2026
- Integration
- The README documents npm and Node.js usage and describes using Acorn as an optional parser.github.com · read 4 Oct 2026
- Intended users
- The documented command-line and programmatic interfaces support developers using UglifyJS in build workflows or applications.github.com · read 4 Oct 2026
- Language support
- UglifyJS supports JavaScript and most ECMAScript features, and the README recommends transpiling more exotic syntax with tools such as Babel first.github.com · read 4 Oct 2026
- License
- UglifyJS is released under a BSD license.github.com · read 4 Oct 2026
- Optimization caveat
- The README documents compiler assumptions and warns that some transformations can alter behavior in particular cases.github.com · read 4 Oct 2026
- Purpose
- UglifyJS is a JavaScript parser, minifier, compressor and beautifier toolkit.github.com · read 4 Oct 2026
- Security
- The repository has a Security tab, but the opened security page does not state a security policy or compliance certification.github.com · read 4 Oct 2026
- Source maps
- UglifyJS can generate source maps and compose mappings from compiled JavaScript back to original source files.github.com · read 4 Oct 2026