utility.fetchInfo() returns a Promise object. I need to be able to get the value of this Promise object and assign the value of it to a variable that I can then use
utility.fetchInfo()
What @dhilt said but do your stuff inside the promise callback function:
utility.fetchInfo().then(result => { doSomethingWith(result); });
Or use async/await if you are using a recent version of Node or Babel:
async function myFunction () { var myVal = await utility.fetchInfo(); }