compresser

compress your entire project

dir-compress

dir-compress use uglify-js to you compress you entire project

npm install dir-compress
var compresser = require('dir-compress');
compresser.compress({
    rootPath: 'folder want to be compressed',
    newRootPath: 'new dir root',
    exclude: ['/folder'] //this path is relative to rootPath, which will not be compressed
})

if you use coffee, dir-compress will automatic remove the coffee files