Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/voles/node-whatsapp-expenses

Calculate shared expenses via the WhatsApp Chat History for Node.js
https://github.com/voles/node-whatsapp-expenses

Last synced: about 1 month ago
JSON representation

Calculate shared expenses via the WhatsApp Chat History for Node.js

Awesome Lists containing this project

README

        

# node-whatsapp-expenses
Calculate shared expenses via the [WhatsApp Chat History](https://www.whatsapp.com/faq/en/s60/21055276) for Node.js.

## Usage

var expenseTracker = require('node-whatsapp-expenses');

expenseTracker
.expenses('whatsapp-chat-archive.txt')
.then((expenses) => {
// process expenses
});
});

## Output
The output is a map of authors with their expenses grouped by month.

{
'Niels Dequeker': {
0: 42, // January
1: 20, // February
5: 42 // June
},
'Jane Doe': {
0: 20 // January
}