全部搜尋項
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 原始碼: uglify-js  ]

套件:node-uglify-js(3.17.4-2)

node-uglify-js 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 uglify-js

維護小組:

外部的資源:

相似套件:

JavaScript parser, mangler/compressor and beautifier - Nodejs library

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 UglifyJS library usable with Node.JS.

下載 node-uglify-js

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 198。5 kB1,281。0 kB [檔案列表]