uglify-es
=========
A JavaScript parser, mangler/compressor and beautifier toolkit for ES6+.
#### Note:
- **`uglify-es` is API/CLI compatible with `uglify-js@3`.**
- **`uglify-es` is not backwards compatible with `uglify-js@2`.**
Install
-------
First make sure you have installed the latest version of [node.js](http://nodejs.org/)
(You may need to restart your computer after this step).
From NPM for use as a command line app:
npm install uglify-es -g
From NPM for programmatic use:
npm install uglify-es
# Command line usage
uglifyjs [input files] [options]
UglifyJS can take multiple input files. It's recommended that you pass the
input files first, then pass the options. UglifyJS will parse input files
in sequence and apply any compression options. The files are parsed in the
same global scope, that is, a reference from a file to some
variable/function declared in another file will be matched properly.
If no input file is specified, UglifyJS will read from STDIN.
If you wish to pass your options before the input files, separate the two with
a double dash to prevent input files being used as option arguments:
uglifyjs --compress --mangle -- input.js
### Command line options
```
-h, --help Print usage information.
`--help options` for details on available options.
-V, --version Print version number.
-p, --parse <options> Specify parser options:
`acorn` Use Acorn for parsing.
`bare_returns` Allow return outside of functions.
Useful when minifying CommonJS
modules and Userscripts that may
be anonymous function wrapped (IIFE)
by the .user.js engine `caller`.
`expression` Parse a single expression, rather than
a program (for parsing JSON).
`spidermonkey` Assume input files are SpiderMonkey
AST format (as JSON).
-c, --compress [options] Enable compressor/specify compressor options:
`pure_funcs` List of functions that can be safely
removed when their return values are
not used.
-m, --mangle [options] Mangle names/specify mangler options:
`reserved` List of names that should not be mangled.
--mangle-props [options] Mangle properties/specify mangler options:
`builtins` Mangle property names that overlaps
with standard JavaScript globals.
`debug` Add debug prefix and suffix.
`domprops` Mangle property names that overlaps
with DOM properties.
`keep_quoted` Only mangle unquoted properties.
`regex` Only mangle matched property names.
`reserved` List of names that should not be mangled.
-b, --beautify [options] Beautify output/specify output options:
`beautify` Enabled with `--beautify` by default.
`preamble` Preamble to prepend to the output. You
can use this to insert a comment, for
example for licensing information.
This will not be parsed, but the source
map will adjust for its presence.
`quote_style` Quote style:
0 - auto
1 - single
2 - double
3 - original
`wrap_iife` Wrap IIFEs in parenthesis. Note: you may
want to disable `negate_iife` under
compressor options.
-o, --output <file> Output file path (default STDOUT). Specify `ast` or
`spidermonkey` to write UglifyJS or SpiderMonkey AST
as JSON to STDOUT respectively.
--comments [filter] Preserve copyright comments in the output. By
default this works like Google Closure, keeping
JSDoc-style comments that contain "@license" or
"@preserve". You can optionally pass one of the
following arguments to this flag:
- "all" to keep all comments
- a valid JS RegExp like `/foo/` or `/^!/` to
keep only matching comments.
Note that currently not *all* comments can be
kept when compression is on, because of dead
code removal or cascading statements into
sequences.
--config-file <file> Read `minify()` options from JSON file.
-d, --define <expr>[=value] Global definitions.
--ecma <version> Specify ECMAScript release: 5, 6, 7 or 8.
--ie8 Support non-standard Internet Explorer 8.
Equivalent to setting `ie8: true` in `minify()`
for `compress`, `mangle` and `output` options.
By default UglifyJS will not try to be IE-proof.
--keep-classnames Do not mangle/drop class names.
--keep-fnames Do not mangle/drop function names. Useful for
code relying on Function.prototype.name.
--name-cache <file> File to hold mangled name mappings.
--safari10 Support non-standard Safari 10/11.
Equivalent to setting `safari10: true` in `minify()`
for `mangle` and `output` options.
By default `uglify-es` will not work around
Safari 10/11 bugs.
--self Build UglifyJS as a library (implies --wrap UglifyJS)
--source-map [options] Enable source map/specify source map options:
`base` Path to compute relative paths from input files.
`content` Input source map, useful if you're compressing
JS that was generated from some other original
code. Specify "inline" if the source map is
included within the sources.
`filename` Name and/or location of the output source.
`includeSources` Pass this flag if you want to include
the content of source files in the
source map as sourcesContent property.
`root` Path to the original source to be included in
the source map.
`url` If specified, path to the source map to append in
`//# sourceMappingURL`.
--timings Disp
没有合适的资源?快使用搜索试试~ 我知道了~
小程序反编译工具,可转uniapp
共4537个文件
js:2325个
md:319个
json:311个
需积分: 14 1 下载量 64 浏览量
2022-11-24
21:17:26
上传
评论
收藏 63.08MB ZIP 举报
温馨提示
小程序反编译工具,可转uniapp
资源推荐
资源详情
资源评论
收起资源包目录
小程序反编译工具,可转uniapp (4537个子文件)
011fb13a19b6bc4c461c356f42d3acee3fca30dd036ff4e666ed1525b181 617B
013beda02aff626ab15f7935d4625ecd30d3568fb3caf8e729bf4e354d75 716B
023ec8fb8aeff16f9a0a61cb051d2a6914d9ec8ffe763954d129be333f9a275f0545df3566993a0d70e7c60be0910e97cafd4e7ce1f320dfc64709a12529 9KB
026304df15ae88388336b2191961b9fd5c37cca6f62180a57a78516f9346 758B
02714e9e61ca394444a92772fe85340de8bd216b58f59e1af25d5618303f 687B
0372466b3a645d8c37c3f43302241b76bf48c7bf925ef66ad13f5e8623acac97dd2959ccd8c032e6708df45b098a3dfcbff0d30e2e30fadefc04889c53a9 8KB
03e5e797e17c1cae8556e3934cbe861a22e148f864290366bc1a2f97fd4fdc0d4211b15dfba907c5f74e45d21b534424444080782aa3de6af7912549773b 2KB
040205eebe8a1469c51bd2cf204508de0c8c99d31041c9481a8f7a10adb3 706B
0438c115f9b7d8c0e98dc46cd29e347612642877b7f55173a964cde5e22e28e10370ce3b4902efc7c5d8c7ab469806f76a32e4046357a0d27a96f593ce44 3KB
045ce6b6363fa40117084629995e9df324c7 2KB
049ce1ecdf2b0649af3ef24e45ed35416d91 2KB
0622616586654dc48a22768ed585ace70c6d9d5bc05c5fccfa752bd907f0 687B
0641a58f1f9f663975189c01b67b09dc412e22e05e374efdc9a0033eb365430264bd36c2bc1a90cc2eb0873e4b054fb8772ba4cea14367da96fb4685f1e2 4KB
06d6139b48e983c67aeb0d843d35c44a266654db3e65e491f69616e7d170 711B
074395a5f794b5992233791d2a6a3c3530cb0dca432e53ceb72cc13110011d9a6d767ef9bf8ae396aa4e736b98d00a329c01fd1e60fe069ea28b72afbe2b 15KB
07e35914432941b6edbee08400ddab6a7af03695182a036c32541fd88969ac0d2bb295966e5ce532f6b89cdf485fcdab8415f76cba4fde5d346b1ab7ddd2 2KB
0817eb9f1646f60b27e507cd62e9e466ab147621279b2b9c754664d522ad 714B
08305c7deafab447817e811a58de8d9ec736fc8448ff9fd4bcba766d1d2bd88e26c1a7f88cb9f4b3be639c57f95a1b466db93546b6226080f3925b6afdde 18KB
083d824d8cfbca3176b75482335fbf1f1b52341a7bd0d79200799c18e125d589c2d13d9ffce0c9800554304a646629bfb9438f47e1ca6b5fd4a4306aa0c7 10KB
08a945357162ab5e1ebaad70c89f850a0c34cabcca7bdb92549b9cf74d2b 731B
08be586f19de997898747fd38f7317478c876b83c6145ef3205ab85c66b9 687B
08e2d9e371a40792b71da6cd00d2be36cb5cef2940736e6d15b95910159a 585B
0913a74f5e223a4fe6108493dd3b03c2d47259df459926160659513c9ad3 691B
094ff4352a34d672da698080207d23b4b4a56e6548e180caf5ee4a93ba6325e807efdc421295e53ba99533a170c54c01d30c2e0d3a81bf67153712f94c3d 2KB
0995416a1c4fbeb61d9bc654170d97f6ffeb790309f02c8efc451bfa6a0d 735B
09c859a04b187c559a129366eb4df71a6bce93cac03168bd35c53d781662 759B
0b4d043a5bea33a2f1a40e2edb3d9a4ccf77 2KB
0b50dc4c09555fc922ccf43c46994f1a0a5ff47dc0a5d5cf41437ac2d3e6 703B
0b667c7942dd49801d561223027f6eb8ee996919e43634c47fe4bd07359cc6428e1fb923e72bec237cf9ca655d1a8890e0ce65aaaa457f83b243f835b4ab 1KB
0b96396cab5760963714cda0d0cbeecad9ca 32KB
0ba500d161ae388f71d037f1ca2d6c4822d5ccb535d6babeb0d77b941e03 645B
0bc4c72d3d25faeb4bb0b5e920cb1f35fe76c2d6fd4d35a815bc51eb5d655c0e56cba45198e48ba18b1769089c4981566cb042a3eb13eed862d3a726b052 72KB
0bcfe8b701af666609e3aff3bebfdaee299b0fb27772eea3d939c85baa4d9c9d353565a95d28afafee6e785a8288cb18ae3194ca4f61fcd45f0178073765 5KB
0c469b8314d1931cd4628aa257d7d1a33570381f413c8d9da26dc71f4b1682a206e6dda9b958dff69d0363d189d0c0658cd49d3a18e710daa9e1dfed296b 2KB
0c783f01cb37a39822fdb29071ec14b030fee969e41a4b8a99941bcf194ed773d7313dad784ab418a0703c37cc3c4aa68d9eada9c9d9ef641ed3d60abe8e 18KB
0c8429dfca773c92a390a4a03b39fcd51d3e 2KB
0d581bd1d3cb7ad5fd7c5e188e37b54ac6f8d44026ddec738a501ca50d32 711B
0d9aa27abbf50d839a6d5069a547db7424d523bd5bd00a7df466deca232a 716B
0e7db9d791e35267a0e91c98d76a6b0c5dc71f5b71812c8093cb82ef7a65 706B
0e8f35238f7af5b30b0773412ec90315ba3e26c09dbf207c6b744b497331 683B
0f0965d5c4aec41d18c2650c378ceea26a9fb69e1f8c06e1dcf0146501d0 723B
0fc7e56332d980e8c5f6ee80381411442c50996784b85ea7863970afebcb53fa36f7be4fd1c9a2963f43d32b25ad98b48cd1bf9a7544c4bdbb353c4687db 3KB
jsesc.1 3KB
cssesc.1 2KB
1070c1e723057e5de62a2067de601c54987d22716d6ee0f133bf4d22e482 716B
115303ea18a519131a06a54e40e89d11ac3d6417db6551daad7b909f4d80 677B
11559ac769e79e13cbc493b7586224212c15b07c9d3c4787777408a5767b 715B
12924b60050c2cf32dbb289317bb9a8ad40b3a2016c94c4d4ad8185dfbac 794B
130454d8ba37157e9126b92318abce0a9b8ae43cc8e5ab074a8d6cc4619e057af0637e133b2ecf46b5259ae8bc4c4323f3cd9ba81970289820fd71619e3d 5KB
1349b57ac0ab0015bf5bc054e40c2f1b7c8de9f55f1b5fb2999a9d638024 713B
1364ec2250466c09b88f75e70f71d75ec2a94b15c26658594fa7735f3f82 593B
1365ae360d15e500aef7d333e1b31e7ee03bf7eae38fdb079f5e22bca52ef0912e641902cefce79ba27467916dfc1fdf1998b320f9c3f3444d140bbcf2b2 108KB
144ee6228a6e953edd23ca68bf87d18f40c408628e320b597f69e1d0403c7ead5ecec69211be539cba81cfbee906da0ae9d689f809605da62b9f3244d11f 124KB
14724839f6cc0fd59c0a462ccf224d43b78dff5ef1364f87a5c12624aa71b5c0fec61e2bea5daee95c6a56ef6e60b8c95fc3de3daf8979f7375e061f0be5 981B
14b5dfaf15d02d150702f020b262dd5f616c52a8088ad9c483eb30c1f0dddca6c10102f471a7dcce1a0e86fd21c7258013f3cfdacff22e0c600bb0d55b1a 9KB
14babbaee144c58e244c17e2f779e0509513ee8d8c2526dcfbf39fcf6746 735B
162d7599c0bcf8a8c15283081b0e90213b309f76b6becacb621fdf259a99 691B
1648c06d9ffa07bb08f2fcdb9c1206f1e5d6f1c67c6ea7db383d55c95031d905063eb3435603dac97f9dd1067419c5f721edeb94ba2ee1a6800fbc02d974 9KB
1658829739add5ebb15e6b0c6e3423f016ba 3KB
171043f05e012b0c0f5b32f391dbe910989c41cc3ab034c3e07b31c14b5e 686B
17953905c6aa48f16a82c1dbce396be42c5f4e4b80fad17aa5a84d8f91eaeac099a8e88d71cdc19f032fdaa45a7c8a8632fde9407a410307cd6601dd88f6 51KB
17c3e59c94a004cd61f8ee509da651687143 2KB
1895e62109c88fcd54dd8d090553961627856042401ef63deb07ef7abda6 601B
1923a91945d4e1f18c89c3748c6d89bfbbe36a7ec03112958ed0f7fdb2af3f7bde16c713a93cac7d151d459720ad3950cd390fbc9ed96a17189173eaf9a8 4KB
1929926becc54c1f69c0921ab74c461c1777ab3d43213900acd4779dbf27 667B
1932edec77be536daa135655f7fbf750fbf2051e89831de6870cf584ebf4 717B
19e9a30d2eb0ed204d2f41500b2678c4a446063a7c7dc03e0ca4a274c8dfd80b5ba64b5da934e9d02547ba0f8417af0bd76c91f28f1dc6188e2586b0d218 40KB
19f2b2c2c5637dba3db4139126f9a50209629ecbc3264cd5870f8ad9bb8d2deb904dbf82eb87f9f875988bc3b4a8d5c4b6fdda2ff0cbcb17507fd67ea16f 45KB
19f451bf6324f92b125d6dc59f343fd9ba250cd1988333a69d07d9cae0b1 728B
1a115e55317e6ba10fe39afc0ed4574c5b4bb90de76d350a18f1f64a70d8 683B
1a20178dedf9065089a4b48e2b6ebecc14974ca245e0d5f1c15aeb520754 683B
1aa6e99695b3219018334fb624739617513e3a17488abbc4865ead1b7303f9773fe1d0f963e9e9c9aa3cf565bab697959aa989eb55bc16396332177178ee 195KB
1aa775961d4b113ac17d9c50baef9dd76bd1 2KB
1ac061a165d332a3453489dd22e7fc413f9598bcab00b2181d7385fcb606 667B
1b0406b4a10abd59977b3dc54f55f875df47ff1fc3e62100a17e2271603d2664d6a7c50561394da4122b36a17795d0c19bb5e2d0c9fdafe64a6cf167a265 132KB
1bc8f3e9333f8544546e00595632d9a051619ef54386d99db936a0b08888d184e7f988a1aecd27b93f6c3595aabe164472e29f8f0ae5642521a4cd310a57 8KB
1c1104f4a16a4e80d52b256ae195b0c6578e431f41f9c75136d078761fb2 675B
1c26d8c79134b103797e5fd030bda8c2ed74a6fc25a2e955fc077e388510 665B
1c683649971bd59b5be42fae73c07bbb1d8bfcf740da61276a25cacf3573 768B
1c79abdced79951257dabca02e144d20a105eb60113c0f31c0df105f3a18 715B
1c95dbbb5ffcbb44026eacc10999da0a5c607f5f9e74c3636bded4db7b32fa470104fe231c9beb599d77a866d2ae3aae9fb7cf82ab3124ac8831d5f3e840 54KB
1cb61ae613816d5f049cd87dd24009e364126f73726b1f8eab2350fec505 725B
1ce1355f39c75fa063f8dc1c958c11d57446438253b206afc18efb9f28c9 718B
1d22473ac1486d80f5eeda3d472e66871bbcc2dafe8b760f7d21b3efbe24 625B
1d7b57f78645620d647b7516e36dd3cd64ed5c469bde0f0bb435f05b12ac 783B
1d8cfe3dcd5888ffa8bb9c826903cac0978b15fc974f7d4f6766cdd5a8ec062208b3202bee376aeee9f31dfb89652f4b5aaf5f146095df67f4d6b668548c 4KB
1dfa8605f0d35650a5cf57ba481f6baabd85688a35fec2fb1de8b88f206b65852a744822235f41cec37fa3461ffa9bcf65e1804fd96bd691ee8279d45b70 984B
1e9e52f3b96319f59b7c4b42a61701a51fa40a461defb26fdd8430370879224c0e3962e1b55e41d170d465ef71053d70e9fdde6454e534ff2ef1db0e8e69 39KB
1f186c35fc54d4603e72fb472bf5529913795710d3c5af1b1006fd027158 721B
1f198cad2175f9f3b781853fd94d0d19b590 4KB
1f34f48eea040833d22f8ee1e243cb0e425ed66c3cbfbbaf21f52d61501fa95859eee6c95e5f72aa0679538333b0a102807d8c0c45dd0c9f047d0e401712 235KB
1fac4bf58f9ff69668b896711b171ea7b2a90cf3151e2b1d4a54eadad75d33590dfe521ab659c702aff0e68ae5700fa56f17d5f7dbc925f0016b112fc23e 2KB
1ff12d21a5e72671df9ccc8717e1c6688c0b 2KB
2066ef582eaed40d899dcd6bc492a91ba92dca4cffd6b814570a62f86b13 609B
20fe4dd274bb066f78618ac16fb4b3b0e6db35d77925ae92ee20fb4224853e041db87eaaba95ff115aa289123cea5d1f40107d6b21be574eac011c1fa442 123KB
21291e122af9f9c52f85191af43d2bb2b1fc0525b7354373e7862057eac6d53719d06444d4b4694f944d0d34ae232874687891431eb2e11a4c28269ab908 9KB
21870e725b92469ec9ba69dce2a9088826e80dbc765ef294fb6c6e454630 652B
21f3b978a3a22da2c741a07872da75d54875dd2620f1fbe58f0b0f9d92a9 625B
225df1d582b1f54e65addd4352e18faa0713 1KB
22870140db23dab61f28675e4f66abd61a459ff9751f4205066a64b82eaa0fd5a9d02ceb0e270d2fafb27b2302e9a18f5f6ad036aa21941a6b992f422a96 5KB
共 4537 条
- 1
- 2
- 3
- 4
- 5
- 6
- 46
资源评论
你的远方
- 粉丝: 2
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功