alepha@docs:~/docs/packages/alepha/cache$
cat core.md
1 min read
Last commit:

#Alepha - Cache

#Installation

Part of the alepha package. Import from alepha/cache.

npm install alepha

#Overview

Type-safe caching with TTL support.

Features:

  • Cached computations with type-safe keys and values
  • Configurable TTL
  • Cache invalidation
  • Automatic cache population
  • Providers: Memory (default), Redis

#API Reference

#Primitives

  • $cache — Creates a cache primitive for caching with automatic management.

#Providers