Home / npm packages / uglify-js
Every file of uglify-js@3.19.3 as published on npm: 20 files, 1.3 MB. Search them by exact text or regex, in milliseconds.
It uses: new Function(), process.env, the fs module, XMLHttpRequest.
| API | In uglify-js | |
|---|---|---|
| eval() runs a string as JavaScript | No | Who does |
| new Function() builds a function from a string, like eval (with or without new) | Yes: 6 files e.g. lib/ast.js | See the lines |
| child_process starts other programs | No | Who does |
| process.env reads environment variables | Yes: 1 file e.g. tools/node.js | See the lines |
| the fs module reads and writes files | Yes: 2 files e.g. bin/uglifyjs | See the lines |
| http / https makes or serves HTTP requests with Node's own modules | No | Who does |
| fetch() makes HTTP requests | No | Who does |
| XMLHttpRequest makes HTTP requests the old browser way | Yes: 1 file e.g. tools/domprops.json | See the lines |
| crypto hashes, encrypts or makes random numbers | No | Who does |
| WebAssembly loads WebAssembly code | No | Who does |
| document.cookie reads or writes browser cookies | No | Who does |
| install scripts runs a script when it's installed | No | Who does |
Exact matches in the published files, so a mention in a comment counts too: open the lines to check.
| File | Size |
|---|---|
lib/compress.js | 654 KB |
tools/domprops.json | 184 KB |
lib/ast.js | 84 KB |
lib/parse.js | 84 KB |
lib/output.js | 68 KB |
README.md | 58 KB |
lib/mozilla-ast.js | 47 KB |
lib/scope.js | 32 KB |
bin/uglifyjs | 24 KB |
tools/domprops.html | 14 KB |
lib/minify.js | 11 KB |
lib/propmangle.js | 11 KB |
lib/transform.js | 9.6 KB |
lib/utils.js | 9.4 KB |
lib/sourcemap.js | 7.1 KB |
tools/node.js | 3.9 KB |
LICENSE | 1.3 KB |
package.json | 1.1 KB |
tools/tty.js | 794 B |
tools/exports.js | 270 B |
Version 3.19.3 of uglify-js publishes 20 files of source, 1.3 MB in all, not counting images, fonts and source maps.
No: uglify-js doesn't call eval() anywhere in its published files.
No: uglify-js doesn't use child_process anywhere in its published files.
No: uglify-js has no preinstall, install or postinstall script in its package.json.
The same engine answers over your documents and repositories: exact text and regex, every match counted, from your code or your AI agent.