@cybermp-community/browser-types
v1.0.4
Published
TypeScript type definitions for the CyberMP browser environment (CEF).
Downloads
392
Readme
CyberMP Browser Types
This repository contains the TypeScript type definitions for the CyberMP user interface (CEF) environment, providing comprehensive type safety for creating the game's UI in a browser context.
These types allow for robust communication between the UI and the client, as well as access to any browser-side APIs provided by the CyberMP mod.
📦 Installation
1. Install Package
Using NPM:
npm install -D @cybermp-community/browser-typesUsing PNPM:
pnpm install -D @cybermp-community/browser-typesUsing Bun:
bun add -d @cybermp-community/browser-types2. Set types in tsconfig.json
{
"compilerOptions": {
"types": [
"@cybermp-community/browser-types"
]
}
}📜 Disclaimer
This repository is developed by CyberMP Community Developers and is not directly related to CyberMP (cyber.mp).
⚖️ License
This project is licensed under the MIT License - see the LICENSE file for details.
