Jump to content
RAGE Multiplayer Community

rage-tools - js framework


murka
 Share

Recommended Posts

Install: npm

npm i @ragemp-tools/[email protected]

const { peak, online, servers } = require('@ragemp-tools/online')

peak().then(console.log) // output: peak online
online().then(console.log) // output: online now
servers().then(console.log) // output: servers

 

// Definition;

async Function(): Promise<any>

 

Edited by murka
add npm i
Link to comment
Share on other sites

  • 2 weeks later...
14 часа назад, MaxRaimer сказал:

Это для чего? чтобы выводить информацию о каком-то сервере?

Зависит от разработчика. Это NPM пакет

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...