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
Buffers and Streams
Buffers for Binary Data
Creating Buffers
Buffer.alloc
Buffer.from
Buffer.allocUnsafe
Reading from Buffers
Writing to Buffers
Manipulating Buffer Data
Character Encodings
UTF-8
Base64
Hex
ASCII
Buffer Comparison
Buffer Concatenation
Streams for Efficient Data Handling
Stream Concepts and Benefits
The Four Types of Streams
Readable Streams
Reading Data from Streams
Flowing vs Paused Mode
Readable Events
Writable Streams
Writing Data to Streams
Backpressure Handling
Writable Events
Duplex Streams
Bidirectional Data Flow
Implementation Considerations
Transform Streams
Data Transformation
Custom Transform Streams
The pipe Method
Chaining Streams
Error Propagation in Pipelines
Pipeline Function
Handling Stream Events
data Event
end Event
error Event
close Event
readable Event
Stream Performance Considerations
Previous
7. Core Node.js Modules
Go to top
Next
9. Building Web Applications with Express.js