nodejs fs 模块

# nodejs fs 模块

# promise-fs

使用 Promise 包装 FS 方法

# 读取文件夹

语法:
fs.readdir(path, callback(err, data));