Releases: AjanShrestha/digging-into-nodejs
Releases · AjanShrestha/digging-into-nodejs
Child Process
- Child Processes
- Exit Codes
- Child Processes Exercise
Web Servers
- Creating a Web Server
- Routing & Serving Static Files
- Serving API Endpoint
- Fetch Exercise
- ExpressJS Routing
- Serving Static Files with Express
- Custom Routing Middleware
Database
- Database & Exercise Setup
- Read & Write from Database
- Insert into Database Solution
- Get Database Records
Streams
- File Handling with Streams
- Transform Stream
- Outputting a Stream to a File
- gzip Compress with zlib
- gzip Uncompress with zlib
- Determining End of Stream
- Asynchronous Cancellation & Timeouts
- Add async cancellation package CAF
- Cancel based on a timeout
Command Line
- Setting Up a Command-Line Script
- Make the file executable with node env shebang
- Command Line Arguments
- Add minimist package to handle the command line args
- Argument Handling
- Reading Files with Path & FS Modules
- Asynchronous readFile
- Processing File Contents
- Refactor processFile function
- Processing Input from stdin
- Environment Variables
Introduction
- Console Log & Process stdout
- Console Error & Process stderr
- node *.js 1>/dev/null 2>/dev/null