lru-cache-node
Advanced tools
Comparing version
{ | ||
"name": "lru-cache-node", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A lighting fast cache manager for node with least-recently-used policy.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -5,3 +5,3 @@ # lru-cache-node | ||
A super fast cache for node with LRU policy. Cache will keep on adding values until the `limit` is reached. | ||
A super fast cache for node with LRU policy. Cache will keep on adding values until the `maxSize` is reached. | ||
@@ -11,3 +11,3 @@ After that it will start popping out the Least recently used/accessed value from the cache in order to set the new ones. | ||
Supports expiry and stale gets. | ||
Supports expiry and stale. | ||
@@ -14,0 +14,0 @@ Implemented using doubly-linked-list and hashmap with O(1) time complexity for gets and sets. |
7217
-0.04%