read your JSON file without blocking, then fs.readFile is your only option. NOTE: From NodeJS 10.x, import file from './file.json' would be ...
確定! 回上一頁