altv-jsv2-cache
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Cross Resource Cache for alt:V

An easy-to-use database library for alt:V that utilizes MongoDB.

Easily write data to your database by binding documents to alt:V Entities such as players, vehicles, and colshapes.

Data is cross-resource accessible meaning it can work in a multi-resource environment.

Features

  • Connect to MongoDB Database
  • Individual connections to MongoDB Database per resource
  • Cross-resource data cache for alt:V Entities (players, vehicles, etc)
  • Listen for individual data updates based on keys
  • Flag different data keys as localMeta, syncedMeta, or streamSyncedMeta for easy server-to-client sync

Installation

npm i altv-jsv2-cache

Documentation

Check out the Documentation on GitHub

Readme

Keywords

none

Package Sidebar

Install

npm i altv-jsv2-cache

Weekly Downloads

3

Version

1.0.2

License

none

Unpacked Size

58.5 kB

Total Files

42

Last publish

Collaborators

  • aydek