← 모든 태그

#nodejs

19개의 노트

What are Event Emitters in Node.js

Event Emitters is a class that can be used to emit named events and register listeners for those events. It is used to handle asynchronous events in N...

dev

What are modules in Node.js

Modules are reusable blocks of code that can be imported into other files. They are used to encapsulate related code into a single unit of code that c...

dev

What are streams in Node.js

Streams are objects that allow you to read data from a source or write data to a destination in a continuous manner. They are used to handle large amo...

dev

What is Clustering in Node.js

Clustering is a technique used to distribute the load across multiple processes. It is used to improve the performance and scalability of Node.js appl...

dev

What is Event Loop in Node.js

The event loop is a single-threaded loop responsible for handling all asynchronous tasks in Node.js. It continuously checks for events and executes as...

dev

What is Node.js

Node.js is an open-source and cross-platform JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js uses an event-driven, non-blocking I/O...

dev

What is `npm`

`npm` is a package manager for Node.js. It is used to install, update, and remove packages from the Node.js ecosystem. It is also used to manage depen...

dev

What is `npx`

`npx` is a tool that allows you to run Node.js packages without installing them. It is used to execute Node.js packages that are not installed globall...

dev

What is REPL in Node.js

REPL stands for Read-Eval-Print-Loop. It is an interactive shell that allows you to execute JavaScript code and view the output immediately. It is use...

dev

What is the full form of `npm`

`npm` stands for Node Package Manager.

dev

Can you access the DOM in Node.js

No, you cannot access the DOM in Node.js because it does not have a DOM. It is a server-side runtime for JavaScript, so it does not have access to the...

dev

How can memory leaks happen in Node.js

Memory leaks happen when a program allocates memory but does not release it when it is no longer needed. This can happen due to bugs in the program or...

dev

How Node.js handle errors

There are four fundamental strategies to report errors in Node.js:

dev

What is the order priority of `process.nextTick`, `Promise`, `setTimeout`, and `setImmediate`

Order priorities of `process.nextTick`, `Promise`, `setTimeout` and `setImmediate` are as follows:

dev

Can You Access The DOM In Node.js

No, you cannot access the DOM in Node.js because it does not have a DOM. It is a server-side runtime for JavaScript, so it does not have access to the...

dev

How Node.js Handle Errors

There are four fundamental strategies to report errors in Node.js:

dev

How Can Memory Leaks Happen In Node.js

Memory leaks happen when a program allocates memory but does not release it when it is no longer needed. This can happen due to bugs in the program or...

dev

What Is The Order Priority Of `process.nextTick`, `Promise`, `setTimeout`, And `setImmediate`

Order priorities of `process.nextTick`, `Promise`, `setTimeout` and `setImmediate` are as follows:

dev

Streaming Server-Side Rendering

Generate HTML to be rendered on the server in response to a user request

dev