Node.js' built-in util package has a promisify() function that converts callback-based functions to promise-based functions.
確定! 回上一頁