A while loop alternative for Nodejs based on promises.
Node package to get current machine's MAC address