UglifyJS

From Free Software Directory
 
Jump to: navigation, search

[edit]

Uglifyjs

http://lisperator.net/uglifyjs/
JavaScript parser, mangler/compressor and beautifier toolkit

UglifyJS is a JavaScript compressor/minifier written in JavaScript. It also contains tools that allow one to automate working with JavaScript code:

  • A parser which produces an abstract syntax tree (AST) from

JavaScript code. * A code generator which outputs JavaScript code from an AST, also providing the option to get a source map. * A compressor (optimizer) - it uses the transformer API to optimize an AST into a smaller one. * A mangler - reduce names of local variables to (usually) single-letters. * A scope analyzer, which is a tool that augments the AST with information about where variables are defined/referenced etc. * A tree walker - a simple API allowing you to do something on every node in the AST. * A tree transformer - another API intended to transform the tree.

All the above utilities and APIs are defined in ~6500 lines of code (except for the effective generation of the source-map, which is handled by the source-map module). Compared to alternatives, UglifyJS is pretty small.





Licensing

License

Verified by

Verified on

Notes

Verified by

Debian: Jonas Smedegaard <dr@jones.dk>

Verified on

16 October 2014

Notes

License: bsd-2-clause




Leaders and contributors

Contact(s)Role
https://github.com/mishoo/UglifyJS2/issues http://groups.google.com/group/uglifyjs contact


Resources and communication

AudienceResource typeURI
Debian (Ref) (R)https://tracker.debian.org/pkg/uglifyjs
Downloadhttps://github.com/mishoo/UglifyJS2 git://github.com/mishoo/UglifyJS2


Software prerequisites

This entry (in part or in whole) was last reviewed on 22 March 2018.



Entry




Property "Submitted by" (as page type) with input value "{{{Submitted by}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.








"contact" is not in the list (Maintainer, Contributor, Developer, Sponsor, Unknown) of allowed values for the "Role" property.


"Debian (Ref) (R)" is not in the list (General, Help, Bug Tracking, Support, Developer) of allowed values for the "Resource audience" property.








Date 2015-07-17
Source Debian
Source link http://packages.debian.org/sid/uglifyjs

[[Category:]]



Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.