@nasriya/cachify
Version:
A lightweight, extensible in-memory caching library for storing anything, with built-in TTL and customizable cache types.
16 lines (15 loc) • 490 B
JavaScript
import EventsBroker from "./broker/EventsBroker.js";
import FilesEventsManager from "./managers/files/FilesEventsManager.js";
import KVsEventsManager from "./managers/kvs/KVsEventsManager.js";
class Events {
kvs: new KVsEventsManager(),
files: new FilesEventsManager()
};
get for() {
return { ...this.
}
get broker() { return this.
}
export default Events;