🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

squad-logs

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package version was removed
This package version has been unpublished, mostly likely due to security reasons

squad-logs

This library is designed for the game Squad, it will give you the ability to easily parse game logs. It is possible to read the file locally or protocol SFTP. I hope this will be useful to you!

unpublished
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
7
-36.36%
Maintainers
1
Weekly downloads
 
Created
Source

SquadLogs

This library is designed for the game Squad, it will give you the ability to easily parse game logs. It is possible to read the file locally or protocol SFTP. I hope this will be useful to you!

Installation

This is a Node.js module available through the npm registry.

Before installing, download and install Node.js.

If this is a brand new project, make sure to create a package.json first with the npm init command.

Installation is done using the

$ npm install squad-logs

or

$ yarn add squad-logs

Quick Start

SFTP

import { LogsReader } from 'squad-logs';

const logsEmitter = LogsReader({
  remoteFilePath: '/SquadGame/Saved/Logs/SquadGame.log',
  host: '127.0.0.1',
  username: 'root',
  password: 'password',
});

logsEmitter.on('PLAYER_CONNECTED', (data) => {
  console.log(data);
});

LOCAL (TOOOODOOOOOOOO)

import { LogsReader } from 'squad-logs';

const logsEmitter = LogsReader({
  localFilePath: '/SquadGame/Saved/Logs/SquadGame.log',
});

logsEmitter.on('PLAYER_CONNECTED', (data) => {
  console.log(data);
});

FAQs

Package last updated on 14 Dec 2023

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