I\'m quite puzzled with reading files in Node.js.
fs.open(\'./start.html\', \'r\', function(err, fileToRead){ if (!err){ fs.readFile(fileToRead,
simple synchronous way with node:
let fs = require('fs') let filename = "your-file.something" let content = fs.readFileSync(process.cwd() + "/" + filename).toString() console.log(content)