Preparing for system design interviews?  Try bugzed.com →

ttl

JSON →
library 1.3.1 ·javascript
verified Jun 7, 2026

Simple in-memory cache with TTL and capacity for JavaScript. Version 1.3.1 is the current stable release, with infrequent updates. It provides a lightweight cache with optional time-to-live per entry, capacity-limited eviction, and events for put, del, drop, hit, and miss. Differentiates from similar libraries (e.g., node-cache) by its simple API and event-driven architecture. Designed for Node.js environments, with no external dependencies.

total hits 15
actors 3 distinct systems
last hit 13d ago AhrefsBot
GPTBot
3
Amazonbot
3
Humans
8

top countries 🇺🇸 United States · 🇸🇬 Singapore · VN · 🇨🇦 Canada · 🇧🇷 Brazil