zipjsfile is a command line tool to compress JavaScript files. 1. install npm install zipjsfile -g 2. how to use In the root directory of your project: zipjs xxx.js you will find that a new js file named "xxx-zipjs.js" has been created in your project.