---
title: "Madhuri (@SparshX) | Hashnode"
description: "Backend developer. Read the latest articles by Madhuri on Hashnode."
url: "https://hashnode.com/@SparshX"
---

@SparshX

# Madhuri

@SparshX · India · Joined July 2023

Backend developer

### [Passthrough streams](https://sparshed.hashnode.dev/passthrough-streams?utm_source=hashnode&utm_medium=feed)

Handling large files in Node.js can be challenging, especially when dealing with operations like compression and uploading to cloud storage. A typical scenario is when you need to zip multiple files which are stored on a cloud provider and upload the...

5 min read · [sparshed.hashnode.dev](https://sparshed.hashnode.dev/passthrough-streams?utm_source=hashnode&utm_medium=feed)

[Aug 31, 2024](https://hashnode.com/posts/passthrough-streams/66d305ab3fe22d9d58aec4db)

### [Implementing Custom Promise](https://sparshed.hashnode.dev/implementing-custom-promise?utm_source=hashnode&utm_medium=feed)

To write better control flows with promises, it is crucial to understand how a Promise works. What better way to learn than by implementing one? The final code is a modified version of the code I took from https://learnersbucket.com/. As with any des...

8 min read · [sparshed.hashnode.dev](https://sparshed.hashnode.dev/implementing-custom-promise?utm_source=hashnode&utm_medium=feed)

[Jul 6, 2024](https://hashnode.com/posts/implementing-custom-promise/66898b4f56d9be5986172308)

### [behaviour of circular dependencies in resolving node.js modules](https://sparshed.hashnode.dev/behaviour-of-circular-dependencies-in-resolving-nodejs-modules?utm_source=hashnode&utm_medium=feed)

I was reading the Node.js design patterns book when I came across this section of cycles in module resolution. This is the sample code: Module a.js: exports.loaded = false; var b = require('./b'); module.exports = { bWasLoaded: b.loaded, load...

2 min read · [sparshed.hashnode.dev](https://sparshed.hashnode.dev/behaviour-of-circular-dependencies-in-resolving-nodejs-modules?utm_source=hashnode&utm_medium=feed)

[Jun 8, 2024](https://hashnode.com/posts/behaviour-of-circular-dependencies-in-resolving-nodejs-modules/666439c10bd1dd256d526e9e)

### [debugging unhandledRejection](https://sparshed.hashnode.dev/debugging-unhandledrejection?utm_source=hashnode&utm_medium=feed)

At work I was trying to debug a fatal error, which looked something like this: You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: TypeError: Cannot read properties of null (reading 'eventId') at /var/li...

4 min read · [sparshed.hashnode.dev](https://sparshed.hashnode.dev/debugging-unhandledrejection?utm_source=hashnode&utm_medium=feed)

[May 12, 2024](https://hashnode.com/posts/debugging-unhandledrejection/6640aeb9deb3151991385725)

### [encapsulation and abstraction CANNOT be used interchangeably](https://sparshed.hashnode.dev/encapsulation-and-abstraction-cannot-be-used-interchangeably?utm_source=hashnode&utm_medium=feed)

In the past, I've often gotten confused about what sets encapsulation apart from abstraction. Both seem to be doing some level of information hiding but I never truly got the difference. Also, I often came across the usage of these words in books and...

4 min read · [sparshed.hashnode.dev](https://sparshed.hashnode.dev/encapsulation-and-abstraction-cannot-be-used-interchangeably?utm_source=hashnode&utm_medium=feed)

[Aug 25, 2023](https://hashnode.com/posts/encapsulation-and-abstraction-cannot-be-used-interchangeably/64e8c9dce8fcadf2f7b0a351)
