---
title: "Discussion on \"[Node.js] Using callback-based functions when the rest of the code uses Promises\" | Hashnode"
description: "Discussion on \"[Node.js] Using callback-based functions when the rest of the code uses Promises\". Hey!\nMy name is Gaurang and I've been working with Node.js for the past 5 years. This article is part of the \"My Guide to Getting through the Maze of Callbacks and Promises\" series. It's a 3-part series where I talk about writing asynchronous code wi..."
url: "https://hashnode.com/posts/nodejs-using-callback-based-functions-when-the-rest-of-the-code-uses-promises/6457f9ee44a394be07499982"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [\[Node.js\] Using callback-based functions when the rest of the code uses Promises](https://blog.gaurang.page/nodejs-using-callback-based-functions-when-the-rest-of-the-code-uses-promises?utm_source=hashnode&utm_medium=feed)

Hey! My name is Gaurang and I've been working with Node.js for the past 5 years. This article is part of the "My Guide to Getting through the Maze of Callbacks and Promises" series. It's a 3-part series where I talk about writing asynchronous code wi...

May 7, 2023 · 5 min read · blog.gaurang.page  
Updated May 31, 2025  
Read the article

-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#promises](https://hashnode.com/tag/promises)
-   [#asynchronous](https://hashnode.com/tag/asynchronous)
-   [#callback](https://hashnode.com/tag/callback)

## Written by

[Gaurang Pansare](https://hashnode.com/@gaurang847)

@gaurang847 · Mumbai, India

  
[View profile](https://hashnode.com/@gaurang847)

Node.js Developer | Back-End Developer | Researcher | Learner | Problem solver

I am a passionate backend developer with expertise in Node.js and JavaScript. I have experience in developing scalable and efficient back-end services, APIs, and microservices using Node.js. My work experience includes working with various companies, startups, and individuals in developing their backend architecture and solving complex issues. My ability to learn and adapt to new technologies quickly positions me as an asset to any organization. I am passionate about creating software that solves complex problems and enhances the user experience. If you are seeking a highly skilled and motivated backend developer, I would welcome the opportunity to work with you.

## Responses 1

Markdown supported · ⌘↵ to post

[Mayuri Ukey](https://hashnode.com/@MayuriUkey)

[May 9, 2023](https://hashnode.com/posts/nodejs-using-callback-based-functions-when-the-rest-of-the-code-uses-promises/6457f9ee44a394be07499982/comment/6459b40da7fbb23dbe43c0cd)

Hey, I had been struggling with callbacks and promises in a legacy codebase. Thanks for sharing this blog. It made my life easier✌️. And I must mention that util.promisify was cherry on the cake.

[Gaurang Pansare](https://hashnode.com/@gaurang847)

[May 14, 2023](https://hashnode.com/posts/nodejs-using-callback-based-functions-when-the-rest-of-the-code-uses-promises/6457f9ee44a394be07499982/comment/6459b40da7fbb23dbe43c0cd#reply-6460ac09d8bff688bc84727a)

I'm glad I was able to help! :)
