MMMd Mudassir Akhterinblogmudassir.hashnode.dev·2d ago · 7 min readJavaScript Modules: Import and Export Explained As JavaScript applications grow, managing code inside a single file becomes increasingly difficult. A small project may start with just a few functions, but over time it can include utility functions,00
MMMd Mudassir Akhterinblogmudassir.hashnode.dev·2d ago · 7 min readWhy Async Code Exists in Node.jsA developer is building a simple Node.js application. The application allows users to upload a file, process its content, save the result to a database, and finally send an email notification. At firs00
MMMd Mudassir Akhterinblogmudassir.hashnode.dev·2d ago · 14 min readHow Node.js Handles Multiple Requests with a Single ThreadIt's a busy Sunday evening in Patna. You own a popular restaurant called Mudassir's Bistro. The restaurant is famous for its Butter Chicken, Biryani, and special Masala Chai. Because of its popularity00
MMMd Mudassir Akhterinblogmudassir.hashnode.dev·Mar 19 · 5 min readArray Methods You Must KnowImagine you work at a fruit store. You have a big box of fruits — some ripe, some not. Your job every morning is to sort them, count them, pick the good ones, and calculate the total weight. You do th00
MMMd Mudassir Akhterinblogmudassir.hashnode.dev·Mar 14 · 5 min readUnderstanding libuv and event loopLibuv is a library written in the programming language C that helps nodejs to improve efficiency while running tasks parallelly. However, nodejs already have async API's. It uses Libuvs's thread pools00