daily-expense-visualization

0.2.3 • Public • Published

Daily Expense Visualization

Build Status

Welcome to Daily Expense Visualization. This is a Work in Progress.

It reads your expense file and performs calculations like total monthly expenses, annual expenses, categorize expenses by name. This module will eventually include visualizations, hence the name daily expense visualization. And I am also planning to apply some deep learning principles into this.

Installation

npm i daily-expense-visualization

Usage

 const dailyExpVis = require('daily-expense-visualization');

 const filePath = '/path/to/file';

 dailyExpVis.fileParser(filePath).then((expenseObj) => {
    return dailyExpVis.aggregators.monthAggregator(expenseObj);
 }).then((result) => {
    console.log(result);
 });

API

fileParser(filePath: string)

aggregators

monthAggregator(expenseObj: Object)

yearAggregator(expenseObj: Object)

categoryAggregator(expenseObj: Object)

categoryMonthAggregator(expenseObj: Object, month : String)

Contributing Guide

See contributing guide

Package Sidebar

Install

npm i daily-expense-visualization

Weekly Downloads

1

Version

0.2.3

License

MIT

Unpacked Size

23.3 kB

Total Files

20

Last publish

Collaborators

  • deepakbhattarai