0.0.4 • Published 7 months ago
bankascanner v0.0.4
Bankascanner
A tool to convert your PDF bank statements to more convenient formats as JSON, CSV (soon).
Usage
npx tsx ./cli --in path/to/in.pdf --out path/to/out.json --bank=<bank_name>
# or
npm start -- --in path/to/in.pdf --out path/to/out.json --bank=<bank_name>
Development
Installation
To install the dependencies:
npm i
Debugging
To generate a preview from PDF text for debugging, run:
npx tsx ./pdf2text.ts --in path/to/in.pdf --out path/to/out.txt
Substitute the --in
and --out
params with the corresponding paths.
Testing
npm run test
# or
npm run test -- tinkoff # will test tinkoff.test.ts
Supported banks
- Kapitalbank
- Tinkoff
Coming soon
- Sberbank
- Jusan
- TBC
- Kaspi
- Permata Bank
- MayBank