To run the code
$ npm i
$ node index- Menu
- Change name of the file
- Load the data file (worldcities.csv).
- Simplify the data so it only contains city and population.
- Write simplified data to a new file.
- Compute the average population of all cities.
- Find the city with smallest population.
- Find the city with the largest population.
- Output a short report showing the average population and smallest and largest cities.