Powerful yet light-weight, vanilla JavaScript engine to minify javascript source code, though making it run faster
Only ~4kb, no external dependency and highly customizable
you can download it from https://nodejs.org/en/download/
Demo
$ git clone https://github.com/code3hr/Minifiedjs.git
$ cd the directory
$ open cmd in pwd
$ node minified.js test.js
$ this should produce min_test.js