Coder Social home page Coder Social logo

hsa-expense-analyzer's Introduction

hsa-expense-analyzer

Analyzes HSA expense totals by year from a folder of receipts.

File Structure

Expects files to be in single folder with the following naming convention:

<yyyy-mm-dd> - <description> - $<total>.ext

Example:

<dirPath>/
├── 2021-01-01 - doctor - $45.00.pdf
├── 2022-02-01 - doctor - $75.00.pdf
├── 2022-02-02 - doctor - $75.00.pdf
├── 2023-03-01 - doctor - $45.00.pdf
├── 2023-03-02 - doctor - $45.00.pdf
└── 2024-04-01 - doctor - $50.00.pdf

Note

File extension is not important; only the date and $ amount are used

Running

npm install
npm run start -- --dirPath="/path/to/receipts"

Example Output

2021:
  total:    $75.00
  receipts: 1
2022:
  total:    $150.00
  receipts: 2
2023:
  total:    $90.00
  receipts: 2
2024:
  total:    $50.00
  receipts: 1

Totals by year
2021 ╢██████████░░░░░░░░░░ 75.00
2022 ╢████████████████████ 150.00
2023 ╢████████████░░░░░░░░ 90.00
2024 ╢███████░░░░░░░░░░░░░ 50.00
     ╚════════════════════

hsa-expense-analyzer's People

Contributors

joshjohanning avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.