Skip to content

mkmik/node-lru-cache

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published