@kori_xyz/fivem-lookup
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

Collect information about a Fivem server 👀

NPM latest version Downloads

Install

Available for any computer running nodejs

yarn

yarn add @kori_xyz/fivem-lookup

npm

npm install @kori_xyz/fivem-lookup

Example

import FivemServer from "@kori_xyz/fivem-lookup";

const server = new FivemServer("131.196.198.220:30120");

// number of milliseconds it took to ping the server
console.log(await server.ping());

// information about the server
console.log(await server.info());

// an array of players on the server
console.log(await server.players());

License

This project is licensed under the Apache License 2.0 - see the LICENSE.md file for details.

Package Sidebar

Install

npm i @kori_xyz/fivem-lookup

Weekly Downloads

16

Version

0.0.3

License

ISC

Unpacked Size

16.7 kB

Total Files

7

Last publish

Collaborators

  • kori_xyz