Total 2 Posts

## Converting Callbacks to Promises in Node.js

### Introduction

A few years back, callbacks were the only way we could achieve asynchronous code execution in JavaScript. There were few problems with callbacks and the most noticeable one was "Callback hell".

With ES6, Promises were introduced as a solution to those problems. And finally, the async/await