Understanding Javascript promises
Posted
Javascript promises are very useful when working with asynchronous tasks like reading files and calling APIs. In this article I explain what they are, how to create them, create functions that return them and how to use ES7 async/await syntax.