0.0.3 • Published 2 years ago

@kori_xyz/fivem-lookup v0.0.3

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

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.