Use fs.promises.readFile to read the file in via promise interface (which I'd recommend) · Use JSON.parse to parse the contents into a JavaScript object, · Modify ...
確定! 回上一頁