A browser-compatible, zero-dependency JavaScript minifier based on UglifyJS v1.3.5. Version 2017.2.19, released as a snapshot of the ancient UglifyJS 1.x branch. It packages the old minifier for use in both Node.js and browser environments via a bundled rollup file. Key differentiator: no dependencies and includes a CDN-ready bundle, but it's a very old version of UglifyJS (v1 from 2013), lacking ES6+ support and modern optimizations. Release cadence: last published in 2017 and appears abandoned.
npm install uglify-liteNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to minify a simple function using the Node.js require() and the minify method.
Use a modern minifier like terser (recommended) or uglify-js (v3+).
Use a cross-platform minifier like terser.
Pin to a specific version or host your own copy.
Use terser which supports modern JavaScript.
Double-check you are using the intended package.
Use a modern minifier (e.g., terser) that supports ES6+.
Use require('uglifyjs-lite') or configure bundler to handle CJS.No dependency data recorded yet.