{"repo":"helloscoopa/run-cache","free":true,"listed":false,"github":"https://github.com/helloscoopa/run-cache","clone":"git clone https://github.com/helloscoopa/run-cache.git","description":"RunCache is a dependency-free, lightweight runtime caching library for JavaScript and TypeScript.","language":"TypeScript","stars":14,"topics":["javascript","runtime-cache","typescript","library","memory-cache","caching","npm-package","performance","productivity"],"license":"MIT","category":"productivity","readme_excerpt":"RunCache A dependency-free, lightweight runtime caching library for JavaScript and TypeScript applications. RunCache allows you to cache string values with configurable time-to-live (TTL) settings and supports automatic value regeneration through source functions. Key Features - Zero Dependencies: Lightweight implementation with no external dependencies - In-Memory Performance: Fast, efficient runtime cache for optimal application performance - Source Function Support: Cache values generated from synchronous or asynchronous functions - Automatic Refetching: Configure cache entries to automatically refresh on expiration - Comprehensive Event System: Subscribe to cache events including expiry, refetch, and refetch failures - Pattern Matching: Use wildcard patterns to operate on groups of related cache keys - Eviction Policies: Configure size limits with LRU (Least Recently Used) or LFU (Least Frequently Used) eviction strategies - Middleware Support: Add custom processing for intercepting and transforming cache operations - Tag-based Invalidation: Group related cache entries with tags for efficient batch invalidation - Dependency Tracking: Establish relationships between cache entries with automatic cascading invalidation - TypeScript Support: Full type definitions included Installation Quick Start Cache Eviction Policies RunCache supports configurable cache eviction policies to manage memory usage by automatically removing entries when the cache reaches a defined size limit. A","default_branch":null,"files":null,"tree":[],"storefront":"/r/helloscoopa","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/helloscoopa/run-cache/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}