The other way is using the fs module. We can either do it synchronously const fs = require('fs') let jsonData = JSON.parse(fs.readFileSync('file ...
確定! 回上一頁