You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

lru-cache-node

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lru-cache-node - npm Package Compare versions

Comparing version

to
1.0.1

2

package.json
{
"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.