A JavaScript module has been created for distance conversion.
Download the files "Distance.js" and "index.js" available in this repository, in the same directory of your local machine.
Using the command line, execute "node index.js" command for converting the distances in one form to another(Input values can be changed dynamically in the index.js file)