TaxGee is a fintech tax engine designed for flexibility and versioning of tax rules.
src/logic/: Contains the core calculation engine (engine.js).src/rules/: Separated by year, containing specific tax rule configurations (e.g.,2025/incomeTax.js,2026/incomeTax.js).test/: Unit tests for the engine and rules.
-
Install dependencies:
npm install
-
Run tests:
npm test
To add rules for a new year:
- Create a new directory in
src/rules/(e.g.,2027). - Add rule files (e.g.,
incomeTax.js) following the existing pattern.