1.0.7 • Published 5 years ago

watxt v1.0.7

Weekly downloads
2
License
ISC
Repository
-
Last release
5 years ago

watxt

A simple parser for Whatsapp logs built on Node.js

Installation

npm i watxt

Example

const WaTXT = require('watxt');
const { join } = require('path');
const myMessages = new WaTXT(join(__dirname, 'chat.txt'), 5) // get first 5 messages from chat.txt

myMessages.on('message', ([date, time, author, msg]) => {
    console.log(`At ${time}, ${author} said: ${msg}`)
});
1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago