eve-chatlog

1.0.1 • Public • Published

eve-chatlog

EVE Online Chatlog (txt) parser

Install

$ npm install eve-chatlog

Usage

const chatlog = require('eve-chatlog');
 
chatlog('Local_19000101_000000.txt');

API

chatlog(filename, [options])

filename

Type: string

Path to chatlog (txt) file.

options

offset

Type: integer
Default: 0

Used when checking for changes in logs, so you don't have to parse all content again.

// Parse all logs
let firstPass = chatlog('Local_19000101_000000.txt');
 
// After new logs are added by EVE Client
// Resume from where 'firstPass' stopped
let secondPass = chatlog('Local_19000101_000000.txt', firstPass.byteLength);

License

MIT © Guilherme Serradilha

Package Sidebar

Install

npm i eve-chatlog

Weekly Downloads

5

Version

1.0.1

License

MIT

Last publish

Collaborators

  • thebravyone