This is a very simple implementation of an effort translator. Why 'translator'?
The data is coming in the form of a codified string, like d
, D
, q
, Q
or dDqQ
.
Each letter corresponds to an object containing a status
and effort
.
For more details, have a look at the src/config.js
.
Feel free to use npm
or yarn
in order to install dependencies:
yarn install
// or
npm install
This small project comes with some basic testing. To run the tests, please use:
npm run test