const Promise = require("bluebird"); const fs = Promise.promisifyAll(require("fs")); // this automatically adds `Async` postfixed methods to `fs`. fs.
確定! 回上一頁