fivem-server-api
Version:
Query FiveM server info, player list, player count, resources, tags, locale, OneSync, game build, and more from any server IP or CFX.re URL. Also includes global server search with filtering, pagination, icon URL helper, private server detection, caching,
76 lines (75 loc) • 1.82 kB
JSON
{
"name": "fivem-server-api",
"version": "1.6.1",
"description": "Query FiveM server info, player list, player count, resources, tags, locale, OneSync, game build, and more from any server IP or CFX.re URL. Also includes global server search with filtering, pagination, icon URL helper, private server detection, caching, retries, CLI tool, and full TypeScript support.",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/index.d.ts",
"bin": {
"fivem-server-api": "./bin/cli.js"
},
"exports": {
".": {
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/cjs/index.js"
},
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/esm/index.js"
}
}
},
"scripts": {
"build": "npm run build:cjs && npm run build:esm",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.json && node scripts/postbuild-esm.mjs",
"test": "vitest run",
"test:watch": "vitest",
"pretest": "npm run build",
"prepublishOnly": "npm run build"
},
"keywords": [
"fivem",
"gta5",
"gta-v",
"cfx.re",
"server-list",
"server-search",
"server-info",
"server-status",
"server-icon",
"player-count",
"player-list",
"typescript",
"cli",
"pagination",
"roleplay",
"game-server"
],
"repository": {
"type": "git",
"url": "git+https://github.com/AvuxDemons/fivem-server-api.git"
},
"author": "AvuxDemons",
"license": "ISC",
"files": [
"dist",
"bin",
"LICENSE",
"README.md"
],
"bugs": {
"url": "https://github.com/AvuxDemons/fivem-server-api/issues"
},
"homepage": "https://github.com/AvuxDemons/fivem-server-api",
"dependencies": {
"axios": "^1.17.0",
"protobufjs": "^8.6.2"
},
"devDependencies": {
"@types/node": "^24.10.2",
"typescript": "^6.0.3",
"vitest": "^4.0.15"
}
}