@proviide/fivem-api

1.0.6 • Public • Published
    ___________    __________  ___   ___    ____  ____
   / ____/  _/ |  / / ____/  |/  /  /   |  / __ \/  _/
  / /_   / / | | / / __/ / /|_/ /  / /| | / /_/ // /  
 / __/ _/ /  | |/ / /___/ /  / /  / ___ |/ ____// /   
/_/   /___/  |___/_____/_/  /_/  /_/  |_/_/   /___/  

A light-weight NodeJS package that interacts with the FiveM API to retrieve server information.

Quick Start - Node.js

Install:

npm install @proviide/fivem-api

Simple usage:

const { Server } = require("@proviide/fivem-api");
const server = new Server("IP:PORT");

async function getInfo() {
  server.getInfo().then(data => { console.log(data); });
  server.getPlayers().then(data => { console.log(data); });
}

getInfo();

Contributing

If you are interested in contributing to FiveM API, please feel free to submit a pull request on the GitHub repository.

Readme

Keywords

Package Sidebar

Install

npm i @proviide/fivem-api

Weekly Downloads

0

Version

1.0.6

License

ISC

Unpacked Size

3.54 kB

Total Files

4

Last publish

Collaborators

  • proviide