nodejs压缩图片并删除原图
var images = require("images") var fs = require("fs") var path = "./public/imgtemp" //原图路径 var savepath = "./public/imgup" //压缩图存放路径 function explorer(path){ fs.readdir(path, function(err, files){ //e