Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
README.md
package.json

README.md

lru cache

A cache object that deletes the least-recently-used items.

Usage:

var LRU = require("lru-cache")
  , cache = LRU(10) // max 10 items. default = Infinity
cache.put("key", "value")
cache.get("key") // "value"

RTFS for more info.

Something went wrong with that request. Please try again.