SyntaxFix
Write A Post
Hire A Developer
Questions
var path = "index.html" const readFileAsync = fs.readFileSync(path, 'utf8'); // console.log(readFileAsync)
using simple readFileSync works for me.
readFileSync