Useful Links
Computer Science
Web Development
Node.js Runtime Environment
1. Introduction to Node.js
2. Setting Up the Development Environment
3. Core Architectural Concepts
4. Node.js Module Systems
5. NPM Package Manager
6. Asynchronous Programming in Node.js
7. Core Node.js Modules
8. Buffers and Streams
9. Building Web Applications with Express.js
10. Working with Databases
11. Advanced Topics
12. Testing and Debugging
13. Security Best Practices
Asynchronous Programming in Node.js
The Callback Pattern
Structure of Callbacks
Callback Hell
Problems with Nested Callbacks
Solutions and Alternatives
Error-First Callback Convention
Handling Errors in Callbacks
Best Practices
Promises
Promise States
Pending
Fulfilled
Rejected
Creating Promises
Using Promises
Chaining with then
Error Handling with catch
The finally Method
Utility Methods
Promise.all
Promise.race
Promise.allSettled
Promise.any
Async/Await
The async Function Keyword
The await Operator
Error Handling with try-catch
Combining Async/Await with Promises
Sequential vs Parallel Execution
Top-Level Await
Previous
5. NPM Package Manager
Go to top
Next
7. Core Node.js Modules