* Gets cache statistics for debugging/monitoring.
()
| 85 | * Gets cache statistics for debugging/monitoring. |
| 86 | */ |
| 87 | getStats(): { size: number; entries: string[] } { |
| 88 | return { |
| 89 | size: this.cache.size, |
| 90 | entries: Array.from(this.cache.keys()), |
| 91 | } |
| 92 | } |
| 93 | } |
| 94 | |
| 95 | // Export a singleton instance |