A simple command-line application to convert currencies.
cconverter USD 1 EUR JPY GBP
cconverter requires mongodb Follow the guide to install mongodb for your operating system.
Once mongodb is installed check that it is running. On Linux you can do this using systemctl.
systemctl status mongodb
Next, install the package using npm
sudo npm install --global
You should now be able to use cconverter from the terminal.
cconverter has four commands
convert .............. convert between currencies
history ............ show conversion history
version ............ show package version
help ............... show help menu for a command
Use the help command to learn more about each command.
cconverter help convert
cconverter uses standard javascript code-style [jest] is used as the test-runner.
-
Make sure tests are passing using
npm test
-
Make sure code is propertly styled using
standard