regex.js. Before we start coding, we will perform a simple test. Add the following content inside the
Next, in the terminal application, execute the
regex.js command node from the directory that the file was created in. The Hello, World! message should be displayed as follows:
The hello world application with Node.js is created and it works! We can now start coding our application.
As the main goal of our application is to read a file, we need the file that the application is going to read! We will be using a sample Apache log file. There are many files on the Internet, but we will be using the log file that can be downloaded from http://fossies.org/linux/source...