A NodeJS wrapper for the alt:V API, made with TypeScript.
Read the Documentation
npm install altv-api-wrapper
yarn add altv-api-wrapper
There are many ways to contribute to this repo.
- Submit bugs and help us verify fixes as they are checked in.
- Review the source code changes.
import { Masterlist } from 'altv-api-wrapper';
const masterlist = new Masterlist()
masterlist.getServerByHost('xxxx').then((result) => {
console.log(result)
})
import { Masterlist } from 'altv-api-wrapper';
const masterlist = new Masterlist()
async function getServerByHost() {
const server = await masterlist.getServerByHost('xxxx');
console.log(server)
}
This repository is not affiliated, associated, authorized, endorsed by, or in any way officially connected with alt:V, or the alt:MP team.