🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

node-whatsapp-expenses

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-whatsapp-expenses

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

latest
Source
npmnpm
Version
1.1.1
Version published
Maintainers
1
Created
Source

node-whatsapp-expenses

Calculate shared expenses via the WhatsApp Chat History 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
}

Keywords

whatsapp

FAQs

Package last updated on 28 Nov 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts