Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

ATechAdventurer/ServerTapJS-Legacy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ServerTap-JS

A small client for interacting with https://github.com/phybros/servertap using Typescript or Javascript


Installation

npm install --save servertap-js

Usage

const ServerTap = require('servertap-js');

const server = new ServerTap({apiKey: "xxxxxxxxxx", baseUrl: "http://localhost:4567"});
(async () => {
    const players = await server.getPlayers();
    const worlds = await server.getWorlds();
    const plugins = await server.getPlugins();

    console.log(players, worlds, plugins);
})();

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published