This repository was archived by the owner on Apr 28, 2025. It is now read-only.
This repository was archived by the owner on Apr 28, 2025. It is now read-only.
Provide a way to manually delete a cached value #30
Closed
Description
would be nice if there was a .del method to delete a cached value by providing a key.
myCache.del(key);
love the simplicity of this library - but imo it needs a delete method.
currently we are using a workaround:
myCache.set(key, '', {'expire': 1});
not the most elegant. i would have expected that setting null or undefined would be equivalent to deleting but that doesnt seem to be the case.
Metadata
Metadata
Assignees
Labels
No labels