Node.js · Junior · Question 36 of 75

What does util.promisify do?

Explanation

It's useful for old APIs and libraries that only support callbacks. The opposite helper is util.callbackify.

Further reading

Problem with a question

Node.js · Junior · question 36

Test yourself

Take the Node.js · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz