Display temperature spread app will read sampler data provided in csv file 'sydney-temperatures.csv' inside '/testdata/sampler_location' and displays lowest temperature spread month/s and display temperature spread for entire year. To test with a different data replace content of the file.
- Ensure to install node on the machine where module is extracted.
- Install all required packages.
from the root folder of module runn commmand
npm install
- Follow installation steps above.
- Following command is setup already with npm/package.json
npm run test- run unit tests
- Follow installation steps above.
- To test with a differnt test data, replace file 'sydney-temperatures.csv' inside '/testdata/sampler_location' directory.
- Run
node .\app.jsto display temperature spread.