Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Table of Contents for Node.js Questions #4

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,29 @@

<br>

### 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?

**Node.js** is an open-source, cross-platform JavaScript runtime environment that executes code outside of a web browser. It is built on V8, the same JavaScript engine within Chrome, and optimized for high performance. This environment, coupled with an event-driven, non-blocking I/O framework, is tailored for server-side web development and more.
Expand Down