A nodejs tool to track Harvest time for an overview of logged hours balance.
- Copy
.env.example
as.env
- Modify as needed, comments in the file should explain
- Install dependencies
npm i
- Works at least with node versions
12
and14
, node version16
fails due to harvest (deprecated v1) lib.
- Works at least with node versions
- Run the script:
npm run calc
- Without parameters the balance is checked from the first day of current year to current date
- The dates can be adjusted with
from
and/orto
arguments using formatYYYY-MM-DD
- e.g.
npm run calc -- --from=2022-02-01 --to=2022-02-28
- e.g.
- Change harvest to version 2
- Update all libraries