The simplest way to read a JSON file is to require it, like so: const jsonFile = require('./config.json');.
確定! 回上一頁