@skylab/lru
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "@skylab/lru", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Basic LRU cache library.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -28,2 +28,7 @@ # node-lru | ||
const key = 10; | ||
console.log(cache.get(10)); // getValue function is called to get value and stored in cache , if the cache is full the oldest accessed value is purged | ||
console.log(cache.get(10)); // the value is retrieved from cache. | ||
``` | ||
@@ -36,3 +41,3 @@ | ||
- [X] Complete Documentation | ||
- [X] Documentation | ||
- [ ] Add Test | ||
@@ -39,0 +44,0 @@ |
2844
49