Node.js Runtime Environment

  1. Core Node.js Modules
    1. File System Module
      1. Asynchronous vs Synchronous Methods
        1. Reading Files
          1. fs.readFile
            1. fs.readFileSync
              1. Reading Streams
              2. Writing Files
                1. fs.writeFile
                  1. fs.appendFile
                    1. Writing Streams
                    2. Working with Directories
                      1. fs.mkdir
                        1. fs.readdir
                          1. fs.rmdir
                            1. fs.rm
                            2. File Stats
                              1. fs.stat
                                1. File Properties
                                2. File Watching
                                  1. fs.watch
                                    1. fs.watchFile
                                    2. Promises-based API
                                      1. fs/promises Module
                                    3. Path Module
                                      1. Path Manipulation Methods
                                        1. path.join
                                          1. path.resolve
                                            1. path.basename
                                              1. path.dirname
                                                1. path.extname
                                                  1. path.parse
                                                  2. Cross-Platform Path Handling
                                                    1. Path Separators
                                                      1. Absolute vs Relative Paths
                                                      2. Operating System Module
                                                        1. System Information Methods
                                                          1. CPU Information
                                                            1. Memory Information
                                                              1. Platform and Architecture
                                                                1. End-of-Line Marker
                                                                  1. Network Interfaces
                                                                    1. User Information
                                                                    2. System Constants
                                                                      1. Temporary Directory
                                                                      2. HTTP Module
                                                                        1. Creating HTTP Server
                                                                          1. The Request Object
                                                                            1. URL and Method
                                                                              1. Headers
                                                                                1. Request Body
                                                                                  1. Query Parameters
                                                                                  2. The Response Object
                                                                                    1. Setting Status Codes
                                                                                      1. Setting Headers
                                                                                        1. Sending Response
                                                                                        2. Making HTTP Requests
                                                                                          1. Handling HTTP Methods
                                                                                            1. HTTP/2 Support
                                                                                            2. Events Module
                                                                                              1. The EventEmitter Class
                                                                                                1. Emitting Events
                                                                                                  1. Listening for Events
                                                                                                    1. on Method
                                                                                                      1. once Method
                                                                                                        1. addListener Method
                                                                                                        2. Removing Listeners
                                                                                                          1. Maximum Listeners
                                                                                                            1. Inheriting from EventEmitter
                                                                                                              1. Error Events
                                                                                                              2. URL Module
                                                                                                                1. The WHATWG URL API
                                                                                                                  1. Parsing URL Strings
                                                                                                                    1. URL Object Properties
                                                                                                                      1. URL Search Parameters
                                                                                                                        1. Formatting URLs
                                                                                                                          1. Legacy URL API