Skip to content

Latest commit

 

History

History
55 lines (41 loc) · 1.43 KB

README.md

File metadata and controls

55 lines (41 loc) · 1.43 KB

mtasa-informations


Discord server npm version

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.