node-cache
node-cache copied to clipboard
[Feature Addition]Hits Cache
Added a new dimension for cache content expiry which evicts content based on number of hits. Simply put every fetch call adds time to the expiry of the content, cause of which that content stays longer time in the cache compared to other.
- Designed it as a wrapper
- Test cases are coverage is not impacted.
- Fixed npm audit dependencies
- Version bumped to 0.3.0
Thanks Laukik