The type of the cached value
Optional type of the cache key (default is string)
Clear all cached values
Deletes a value from the cache
The key to delete the value for
True if the value was deleted, false otherwise
Get key expiration Date object or undefined if not found in cache
The key to get the expiration for
Date object or undefined if not found in cache
Checks if a key exists in the cache
The key to check for
True if the key exists in the cache, false otherwise
Iterator for cache keys
Gets the number of items in the cache
The number of items in the cache
Iterator for cache values
Synchronous cache interface
Since
v0.0.1
Example