fs
1)
fs.
readFile
(
'/test.txt'
,
'utf8'
,
function
(
err
,
data
)
{
console.
log
(
data
)
;
}
)
1)
【Node.js入門】fsモジュールでファイルの読み書き方法まとめ, 侍エンジニアブログ,
https://www.sejuku.net/blog/71663
, 2021-07-30