From a7899f1c0a84628dcce499b32e6acf6da0e5ea43 Mon Sep 17 00:00:00 2001 From: Bishwa Jung Shah <103716649+beesou777@users.noreply.github.com> Date: Mon, 11 Nov 2024 12:34:29 +0545 Subject: [PATCH 1/3] add : table for question added --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 69fe178..e1830cd 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,23 @@ #### You can also find all 100 answers here 👉 [Devinterview.io - Node.js](https://devinterview.io/questions/web-and-mobile-development/node-interview-questions)
+| **NO** | **Question** | +|---------------------------------------------------|------------------------------------------------------------------------| +| 1 | ## 1. What is Node.js and why is it used? | +| 2 | ## 2. How does Node.js handle child threads? | +| 3 | ## 3. Describe the event-driven programming in Node.js. | +| 4 | ## 4. What is the event loop in Node.js? | +| 5 | ## 5. What is the difference between Node.js and traditional web server technologies? | +| 6 | ## 6. Explain what "non-blocking" means in Node.js. | +| 7 | ## 7. How do you update Node.js to the latest version? | +| 8 | ## 8. What is "npm" and what is it used for? | +| 9 | ## 9. How do you manage packages in a Node.js project? | +| 10 | ## 10. What is a package.json file? | +| 11 | ## 11. Describe some of the core modules of Node.js. | +| 12 | ## 12. How do you create a simple server in Node.js using the HTTP module? | +| 13 | ## 13. Explain the purpose of the File System (fs) module. | +| 14 | ## 14. What is the Buffer class in Node.js? | +| 15 | ## 15. What are streams in Node.js and what types are available? | ## 1. What is Node.js and why is it used? From ee51a4bda4f887c19fd8ab3bdfcf5da052a3ced9 Mon Sep 17 00:00:00 2001 From: Bishwa Jung Shah <103716649+beesou777@users.noreply.github.com> Date: Mon, 11 Nov 2024 12:36:18 +0545 Subject: [PATCH 2/3] fix : table format --- README.md | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index e1830cd..3d58440 100644 --- a/README.md +++ b/README.md @@ -10,23 +10,24 @@ #### You can also find all 100 answers here 👉 [Devinterview.io - Node.js](https://devinterview.io/questions/web-and-mobile-development/node-interview-questions)
-| **NO** | **Question** | -|---------------------------------------------------|------------------------------------------------------------------------| -| 1 | ## 1. What is Node.js and why is it used? | -| 2 | ## 2. How does Node.js handle child threads? | -| 3 | ## 3. Describe the event-driven programming in Node.js. | -| 4 | ## 4. What is the event loop in Node.js? | -| 5 | ## 5. What is the difference between Node.js and traditional web server technologies? | -| 6 | ## 6. Explain what "non-blocking" means in Node.js. | -| 7 | ## 7. How do you update Node.js to the latest version? | -| 8 | ## 8. What is "npm" and what is it used for? | -| 9 | ## 9. How do you manage packages in a Node.js project? | -| 10 | ## 10. What is a package.json file? | -| 11 | ## 11. Describe some of the core modules of Node.js. | -| 12 | ## 12. How do you create a simple server in Node.js using the HTTP module? | -| 13 | ## 13. Explain the purpose of the File System (fs) module. | -| 14 | ## 14. What is the Buffer class in Node.js? | -| 15 | ## 15. What are streams in Node.js and what types are available? | +| No. | Question | +|--------|--------------------------------------------------------------------------------------------------| +| 1 | What is Node.js and why is it used? | +| 2 | How does Node.js handle child threads? | +| 3 | Describe the event-driven programming in Node.js. | +| 4 | What is the event loop in Node.js? | +| 5 | What is the difference between Node.js and traditional web server technologies? | +| 6 | Explain what "non-blocking" means in Node.js. | +| 7 | How do you update Node.js to the latest version? | +| 8 | What is "npm" and what is it used for? | +| 9 | How do you manage packages in a Node.js project? | +| 10 | What is a package.json file? | +| 11 | Describe some of the core modules of Node.js. | +| 12 | How do you create a simple server in Node.js using the HTTP module? | +| 13 | Explain the purpose of the File System (fs) module. | +| 14 | What is the Buffer class in Node.js? | +| 15 | What are streams in Node.js and what types are available? | + ## 1. What is Node.js and why is it used? From a502a33b430d813738ddc28a851c06ec7daa5e77 Mon Sep 17 00:00:00 2001 From: Bishwa Jung Shah <103716649+beesou777@users.noreply.github.com> Date: Mon, 11 Nov 2024 12:38:39 +0545 Subject: [PATCH 3/3] feat (table of content) : table of content added for every question --- README.md | 39 ++++++++++++++++++++++----------------- 1 file changed, 22 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 3d58440..2099a11 100644 --- a/README.md +++ b/README.md @@ -10,23 +10,28 @@ #### You can also find all 100 answers here 👉 [Devinterview.io - Node.js](https://devinterview.io/questions/web-and-mobile-development/node-interview-questions)
-| No. | Question | -|--------|--------------------------------------------------------------------------------------------------| -| 1 | What is Node.js and why is it used? | -| 2 | How does Node.js handle child threads? | -| 3 | Describe the event-driven programming in Node.js. | -| 4 | What is the event loop in Node.js? | -| 5 | What is the difference between Node.js and traditional web server technologies? | -| 6 | Explain what "non-blocking" means in Node.js. | -| 7 | How do you update Node.js to the latest version? | -| 8 | What is "npm" and what is it used for? | -| 9 | How do you manage packages in a Node.js project? | -| 10 | What is a package.json file? | -| 11 | Describe some of the core modules of Node.js. | -| 12 | How do you create a simple server in Node.js using the HTTP module? | -| 13 | Explain the purpose of the File System (fs) module. | -| 14 | What is the Buffer class in Node.js? | -| 15 | What are streams in Node.js and what types are available? | + +### Table of Contents - Node.js + +| No. | Questions | +|-----|------------------------------------------------------------------------------------------------------------------------------------------------| +| | **Node.js** | +| 1 | [What is Node.js and why is it used?](#1-what-is-nodejs-and-why-is-it-used) | +| 2 | [How does Node.js handle child threads?](#2-how-does-nodejs-handle-child-threads) | +| 3 | [Describe the event-driven programming in Node.js.](#3-describe-the-event-driven-programming-in-nodejs) | +| 4 | [What is the event loop in Node.js?](#4-what-is-the-event-loop-in-nodejs) | +| 5 | [What is the difference between Node.js and traditional web server technologies?](#5-what-is-the-difference-between-nodejs-and-traditional-web-server-technologies) | +| 6 | [Explain what "non-blocking" means in Node.js.](#6-explain-what-non-blocking-means-in-nodejs) | +| 7 | [How do you update Node.js to the latest version?](#7-how-do-you-update-nodejs-to-the-latest-version) | +| 8 | [What is "npm" and what is it used for?](#8-what-is-npm-and-what-is-it-used-for) | +| 9 | [How do you manage packages in a Node.js project?](#9-how-do-you-manage-packages-in-a-nodejs-project) | +| 10 | [What is a package.json file?](#10-what-is-a-packagejson-file) | +| 11 | [Describe some of the core modules of Node.js.](#11-describe-some-of-the-core-modules-of-nodejs) | +| 12 | [How do you create a simple server in Node.js using the HTTP module?](#12-how-do-you-create-a-simple-server-in-nodejs-using-the-http-module) | +| 13 | [Explain the purpose of the File System (fs) module.](#13-explain-the-purpose-of-the-file-system-fs-module) | +| 14 | [What is the Buffer class in Node.js?](#14-what-is-the-buffer-class-in-nodejs) | +| 15 | [What are streams in Node.js and what types are available?](#15-what-are-streams-in-nodejs-and-what-types-are-available) | + ## 1. What is Node.js and why is it used?