How’s it going, I'm a Adam, a Full-Stack Engineer, actively searching for work. I'm all about JavaScript. And Frontend but don't let that fool you - I've also got some serious Backend skills.
Location
City of Bath, UK 🇬🇧
Education
10 plus years* active enterprise development experience and a Fine art degree 🎨
FYI node ships with a promisified FS library built in from node 10.x+
So no need to do the above.
nodejs.org/dist/latest-v10.x/docs/...
And that would work with async await syntax.