🔥 A JavaScript/TypeScript wrapper for the FiveM natives 🎮
Documentation - Join our Discord
This wrapper is based on the FiveM C# wrapper -
link.
It offers a comprehensive set of helper classes, objects, and functions designed to accelerate your project development.
Originally forked from Fivem-js by d0p3t (link),
this project has since evolved. A big thank you to d0p3t for the initial inspiration and contributions! ❤️
-
Dependencies:
-
Abstraction of common FiveM practices: Simplifies development tasks.
-
Entity management: Includes class objects for
Vehicle
,Ped
, and more. -
UI Elements: Supports
scaleforms
, loadingprompts
, and other UI components. -
Additional Functionality: Handles Audio, Blips, Cameras, and more.
-
Web Wrapper: Support for making requests and using
HttpHandlers
in resources. -
Upcoming Features:
- Groups Management
- Buckets Management
- IoC (Inversion of Control): Full support with TypeScript Decorators.
In essence, this package encompasses all the capabilities of the FiveM C# wrapper and offers even more!
Easily integrate the client package into your project.
-
View on npm: @fivem-ts/client
-
Install:
# Using npm npm install @fivem-ts/client # Using pnpm pnpm add @fivem-ts/client # Using yarn yarn add @fivem-ts/client
Easily integrate the server package into your project.
-
View on npm: @fivem-ts/server
-
Install:
# Using npm npm install @fivem-ts/server # Using pnpm pnpm add @fivem-ts/server # Using yarn yarn add @fivem-ts/server
Easily integrate the shared package into your project.
-
View on npm: @fivem-ts/shared
-
Install:
# Using npm npm install @fivem-ts/shared # Using pnpm pnpm add @fivem-ts/shared # Using yarn yarn add @fivem-ts/shared
Explore example projects to get started.
Connect with us on our public discord server for help and discussions.
We welcome contributions! You can assist by submitting pull requests or reporting issues.
For contribution guidelines, please refer to CONTRIBUTING.md.
MIT (Custom license details coming soon). See the LICENSE file for more information's.