Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/voles/node-whatsapp-expenses
- Owner: Voles
- License: mit
- Created: 2016-02-06T09:45:39.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-28T18:11:57.000Z (about 8 years ago)
- Last Synced: 2024-10-29T01:12:04.843Z (2 months ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
}