A calculator challenge that can be used to determine the whole number of days between to given dates.
You can install this package using git and node.
First, clone the repo using the following
$ git clone https://github.com/varoonverma/challenge.gitAnd then use node to install the required dependencies.
$ npm install --global gulp
$ npm installOnce all your dependencies have been installed you can interact with the app by running the following:
$ node index.js 04/07/1984 25/12/1984This will then output the result to the console. To test the app and ensure that the results that it is returning are correct, you can run all of the tests by executing the following:
$ gulp testIf you want to see the code coverage reports for the tests, you can execute:
$ gulp serveYou will then be notified that a web server is running. Open your preferred browser and navigate to the following url.
To stop the web server, return to your console and press Ctrl+C.