A nodejs tool to track Harvest time for an overview of logged hours balance.
- Copy
.env.exampleas.env- Modify as needed, comments in the file should explain
- Install dependencies
npm i- Works at least with node versions
12and14, node version16fails 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
fromand/ortoarguments 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