An unofficial custom fork of node-minify with a minor tweak to enable uglify-js to compile ES2015/ES6 JavaScript. The original project (last stable v3.6.x) is a lightweight Node.js module for minifying JavaScript and CSS files using various compressors: Babili, YUI Compressor, Google Closure Compiler, UglifyJS2, Clean-css, CSSO, and Sqwish. Supports wildcards, file concatenation, sync/async modes, and buffer size configuration. This fork is published independently as 'node-minify-custom-fork' for those who need UglifyJS ES6 support without upstream changes.
npm install node-minify-custom-forkNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows minification with UglifyJS (with ES6 support), promise usage, and file concatenation without compression using the custom fork.
Prefer the official 'node-minify' package if you don't need the ES6 tweak, or consider using other minifiers like 'terser' directly.
Migrate to modern alternatives: 'terser' for JS, 'cssnano' or 'clean-css' for CSS, or use build tools like Webpack/Rollup with built-in minifiers.
Always consult the documentation of the specific minifier (UglifyJS, Clean-css, etc.) for valid option keys. See examples in the README.
Use 'node-minify-custom-fork' in require/import statements, or install the official 'node-minify'.
Use: const compressor = require('node-minify-custom-fork'); or import compressor from 'node-minify-custom-fork';Install Java (JRE) or switch to a pure Node.js compressor like UglifyJS by setting compressor: 'uglifyjs'.