c
cacheManager.CacheManager()
client: JikanClient,
options?: Partial<CacheOptions>
CacheManager: Manager class for the cache This component is used to manage the cache of the Jikan API The cache isn't implemented yet, the manager only creates a cache directory and deletes it when the program exits
I
cacheManager.CacheOptions
-
cache: boolean
Enable or disable the cache
-
cacheExpiration: number
Cache expiration time in milliseconds
-
cachePath: string
Data path for the cache
-
deleteCacheOnExit: boolean
Delete the cache when the program exits