This is a simple program that converts numbers to grammatically correct English words.
Oren Kosto: [email protected]
- The output of the program will be in English. No other languages are supported.
- The program can convert positive numbers between 0 and 100,000.
- The program can only convert integer values (no floating points).
- The program can receive only a single argument as input.
- Only numeric inputs are supported.
This program requires Node.js to run. If you do not have Node.js installed, you can download it here.
The program does not require any dependencies to run, but uses Jest for testing. If you would like to run the tests, you will need to install Jest. You can do this by running the following command from the root directory of the project:
npm i
The program can be run from the command line with the following command from the root directory of the project:
./bin/numbers_to_words 123
Or with NPM:
npm start 123
To run the tests, run the following command from the root directory of the project:
npm test