mtasa-informations
v1.1.3
Published
the package makes it easy for you to search for mta sa servers
Downloads
65
Readme
About
mtasa-informations is a powerful Node.js module that allows you to easily interact with the MTA SA API
Installation
Node.js required.
npm install mtasa-informations
yarn add mtasa-informations
pnpm add mtasa-informations
Example usage
npm install mtasa-informations
simple example :
const KINGMAN = require("mtasa-informations")
;(async()=>{
new KINGMAN({ip: "87.98.182.70", port: 22003})
.getServerInfo()
.then((res)=> {
console.log(res)
})
.catch((err)=> {
console.log(err)
})
})()
Help
If you don't understand something in the pkgs, you are experiencing problems, or you just need a gentle nudge in the right direction, please don't hesitate to join our official KMCodes Server.