Callback hell should be behind us. I replaced async module with promises and async functions (Node 7.6+). Promisify/callbackify (Node 8+) was used to avoid overhauling/promisifying the whole API.
You can see how _addonDetails makes a lot more sense now since it's like 70% shorter.
Callback hell should be behind us. I replaced
async
module with promises and async functions (Node 7.6+). Promisify/callbackify (Node 8+) was used to avoid overhauling/promisifying the whole API.You can see how
_addonDetails
makes a lot more sense now since it's like 70% shorter.