Skip to content

@tyravel/cache

Cache stores and repository for Tyravel

Install

bash
npm install @tyravel/cache

Metadata

FieldValue
Version1.0.1
Sourcepackages/cache
CategoryPlatform services
Node.js>=26

Tyravel dependencies

Public exports

From the package entry point (dist/index.d.ts). Deep imports are not supported.

Values

  • ArrayStore
  • CacheEventListener
  • CacheEventName
  • CacheEventPayload
  • CacheLock
  • CacheManager
  • CacheRepository
  • CacheStoreFactory
  • FileStore
  • LockAcquisitionError
  • LockTimeoutError
  • RedisStore
  • TaggedCache
  • clearCacheEventListeners
  • emitCacheEvent
  • onCacheEvent

Types

  • CacheConfig
  • CacheConnectionConfig
  • CacheStore

Guide

See the Cache guide for usage examples.

Released under the MIT License.