Skip to content
Sections
>> Trisquel >> 软件包 >> nabia >> javascript >> uglifyjs
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: uglify-js  ]

软件包: uglifyjs (3.6.3-1)

JavaScript parser, mangler/compressor and beautifier - CLI tool

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.

This package provides the command-line tool uglifyjs.

负责填实 uglifyjs 的软件包

node-uglify
JavaScript parser, mangler/compressor and beautifier toolkit
uglifyjs
JavaScript parser, mangler/compressor and beautifier - CLI tool

其他与 uglifyjs 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: node-commander
    Complete solution for Node.js command-line interfaces
  • dep: node-uglify-js (= 3.6.3-1)
    JavaScript parser, mangler/compressor and beautifier - Nodejs library
  • dep: nodejs
    evented I/O for V8 javascript - runtime executable
    同时作为一个虚包由这些包填实: node-pegjs
  • sug: node-acorn
    软件包暂时不可用

下载 uglifyjs

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 7.9 kB38 kB [文件列表]