to import the fs module with require . Then we call readFile with the file path and a callback to get the file content from the file parameter.
確定! 回上一頁