1.0.2-2 • Published 2 years ago

@vxf/core v1.0.2-2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

VXF/core package

It was created to make fivem scripting easier using typescript

Download & Install

using npm

npm i @vxf/core

using yarn

yarn add @vxf/core

https://www.npmjs.com/package/@vxf/core

Docs

Decorators

  1. chat command
  2. export
  3. local event
  4. net event
  5. tick
  6. load resource file
  7. controller

Dependency injection

The package uses Inversify for dependency injection. https://github.com/inversify/InversifyJS Vertex makes any class that's decorated as @Controller() injectable, so you can use inversify package's decorators. However, the package contains Pascal case aliases that you can use either.

Contributing

Feel free to contribute to this package

License

Well, the license is MIT. Its specified in package.json