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