node获取文件夹中图片或文件夹
var fs = require("fs");//引用imageinfo模块var image = require("imageinfo");function readFileList(path, filesList) { var files = fs.readdirSync(path); files.forEach(function (itm, index) { ...