Functionality of this wrapper is based on the FiveM C# wrapper - link. It's a feature-rich set of helper classes, objects, and functions to help you develop your project faster.
- One dependency @citizenfx/client
- Abstracts common used FiveM practices
- Entity management through class objects (i.e.
- UI elements such as
- Audio, Blips, Cameras and more...
In other words, whatever the FiveM C# wrapper can do, this package can as well and more!
Download & Install
npm i fivem-js
See here for example projects.
You can also individually import classes.
/// <reference path="node_modules/fivem-js/lib/index.d.ts"/>/// <reference path="node_modules/@citizenfx/client/natives_universal.d.ts"/>const Cfx = ;;
You can join our public help Discord here
You are more than welcome to contribute to this project by submitting a pull request and creating issues.
MIT with customization. See LICENSE