In our application, we want to extend the code to read an RSS feed. To build upon the existing code, we should incorporate a few additions to move closer to our application requirements:
- Display some static content.
- Utilize an HTTP response to display as HTML page.
To achieve this, we will perform the following steps:
- Introduce an NPM peer package to perform the necessary RSS interaction. A peer package is a Node dependency declared in the package.json file. Performing a quick search of NPM packages shows rss-parser as the right choice for our requirements.