This is a simple console application that prints out a multiplication table for the numbers 1 through x number, by deafult 10.
First, install the dependencies.
npm install
Then, run the application and it will print out the multiplication table for the numbers 1 through 10.
node app -b 10
For showing the multiplication table in the console, use the -s or --show flag.
node app -b 10 -s
node app -b 10 -show
For changing the multiplication limit, use the -t or --to flag.
node app -b 10 -t 20
node app -b 10 -to 20
To see the help menu, use the --help flag.
node app --help
Options:
--help Show help [boolean]
--version Show version number [boolean]
-b, --base [number] [required]
-l, --listar Muestra la tabla de multiplicar [boolean] [default: false]
-t, --to Number multiplication limit [number] [default: 10]