DEV Community

Discussion on: Technologies that makes JavaScript a beautiful programming language!

Collapse
 
mateiadrielrafael profile image
Matei Adriel

You can convert callback based functions to promise based ones using promisify from the built in utils module

Collapse
 
gabrielleonte profile image
Gabriel Leonte

Yes. You are right. There are multiple methods to convert IT.