Use fs.writeFileSync() , template literals and JSON.stringify() to write a json object to a .json file. const fs = require('fs'); const JSONToFile = (obj, ...
確定! 回上一頁