You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
isaacs bb9316da28 npm 1.1.0-beta-2 13 years ago
..
lib npm 1.1.0-beta-2 13 years ago
.npmignore npm 1.1.0-beta-2 13 years ago
LICENSE npm 1.1.0-beta-2 13 years ago
README.md npm 1.1.0-beta-2 13 years ago
package.json npm 1.1.0-beta-2 13 years ago

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.set("key", "value")
cache.get("key") // "value"

RTFS for more info.