How to read file with async/await properly?

I cannot figure out how async/await works. I slightly understand it but I can’t make it work. function loadMonoCounter() { fs.readFileSync(“monolitic.txt”, “binary”, async function(err, data) { return await new Buffer( data); }); } module.exports.read = function() { console.log(loadMonoCounter()); }; I know, I could use readFileSync, but if I do, I know I’ll never understand async/await … Read more