summaryrefslogtreecommitdiff
path: root/tools/blog/node_modules/glob/node_modules/minimatch/node_modules/lru-cache/package.json
blob: ff305912684bdc77902c4b3811772e9b6ff036b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
  "name": "lru-cache",
  "description": "A cache object that deletes the least-recently-used items.",
  "version": "1.1.0",
  "author": {
    "name": "Isaac Z. Schlueter",
    "email": "i@izs.me"
  },
  "scripts": {
    "test": "tap test"
  },
  "main": "lib/lru-cache.js",
  "repository": {
    "type": "git",
    "url": "git://github.com/isaacs/node-lru-cache.git"
  },
  "devDependencies": {
    "tap": ""
  },
  "license": {
    "type": "MIT",
    "url": "http://github.com/isaacs/node-lru-cache/raw/master/LICENSE"
  },
  "contributors": [
    {
      "name": "Isaac Z. Schlueter",
      "email": "i@izs.me"
    },
    {
      "name": "Carlos Brito Lage",
      "email": "carlos@carloslage.net"
    },
    {
      "name": "Marko Mikulicic",
      "email": "marko.mikulicic@isti.cnr.it"
    },
    {
      "name": "Trent Mick",
      "email": "trentm@gmail.com"
    }
  ],
  "readme": "# lru cache\n\nA cache object that deletes the least-recently-used items.\n\nUsage:\n\n    var LRU = require(\"lru-cache\")\n      , cache = LRU(10, // max length. default = Infinity\n                    // calculate how \"big\" each item is\n                    //\n                    // defaults to function(){return 1}, ie, just limit\n                    // the item count, without any knowledge as to their\n                    // relative size.\n                    function (item) { return item.length })\n\n    cache.set(\"key\", \"value\")\n    cache.get(\"key\") // \"value\"\n\n    cache.reset()    // empty the cache\n\nIf you put more stuff in it, then items will fall out.\n\nIf you try to put an oversized thing in it, then it'll fall out right\naway.\n\nRTFS for more info.\n",
  "_id": "lru-cache@1.1.0",
  "_from": "lru-cache@~1"
}