promisify(fs.readFile);. Now use the newly created function as a regular promise: readFile('./sample.txt', ...
確定! 回上一頁