readFile
讀取檔案內容。
readFile(path: string): string
path
string
// 這將讀取 file.txt 的內容並返回一個字串 FilesJS.readFile('file.txt');