diff --git a/README.md b/README.md index 1aa22b9d..1f5f155b 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Usage: var LRU = require("lru-cache") , cache = LRU(10) // max 10 items. default = Infinity - cache.put("key", "value") + cache.set("key", "value") cache.get("key") // "value" -RTFS for more info. \ No newline at end of file +RTFS for more info.