{
  "_args": [
    [
      {
        "raw": "quick-lru@^1.0.0",
        "scope": null,
        "escapedName": "quick-lru",
        "name": "quick-lru",
        "rawSpec": "^1.0.0",
        "spec": ">=1.0.0 <2.0.0",
        "type": "range"
      },
      "/home/zkochan/src/pnpm/packages/pnpm/node_modules/camelcase-keys"
    ]
  ],
  "_from": "quick-lru@>=1.0.0 <2.0.0",
  "_id": "quick-lru@1.1.0",
  "_inCache": true,
  "_location": "/quick-lru",
  "_nodeVersion": "4.8.3",
  "_npmOperationalInternal": {
    "host": "s3://npm-registry-packages",
    "tmp": "tmp/quick-lru-1.1.0.tgz_1501163138777_0.7843833630904555"
  },
  "_npmUser": {
    "name": "sindresorhus",
    "email": "sindresorhus@gmail.com"
  },
  "_npmVersion": "2.15.11",
  "_phantomChildren": {},
  "_requested": {
    "raw": "quick-lru@^1.0.0",
    "scope": null,
    "escapedName": "quick-lru",
    "name": "quick-lru",
    "rawSpec": "^1.0.0",
    "spec": ">=1.0.0 <2.0.0",
    "type": "range"
  },
  "_requiredBy": [
    "/camelcase-keys"
  ],
  "_resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-1.1.0.tgz",
  "_shasum": "4360b17c61136ad38078397ff11416e186dcfbb8",
  "_shrinkwrap": null,
  "_spec": "quick-lru@^1.0.0",
  "_where": "/home/zkochan/src/pnpm/packages/pnpm/node_modules/camelcase-keys",
  "author": {
    "name": "Sindre Sorhus",
    "email": "sindresorhus@gmail.com",
    "url": "sindresorhus.com"
  },
  "bugs": {
    "url": "https://github.com/sindresorhus/quick-lru/issues"
  },
  "dependencies": {},
  "description": "Simple \"Least Recently Used\" (LRU) cache",
  "devDependencies": {
    "ava": "*",
    "coveralls": "^2.12.0",
    "nyc": "^11.0.3",
    "xo": "*"
  },
  "directories": {},
  "dist": {
    "shasum": "4360b17c61136ad38078397ff11416e186dcfbb8",
    "tarball": "https://registry.npmjs.org/quick-lru/-/quick-lru-1.1.0.tgz"
  },
  "engines": {
    "node": ">=4"
  },
  "files": [
    "index.js"
  ],
  "gitHead": "618c5cdcc591289e58fc02c93830b2dc6162cdfa",
  "homepage": "https://github.com/sindresorhus/quick-lru#readme",
  "keywords": [
    "lru",
    "quick",
    "cache",
    "caching",
    "least",
    "recently",
    "used",
    "fast",
    "map",
    "hash",
    "buffer"
  ],
  "license": "MIT",
  "maintainers": [
    {
      "name": "sindresorhus",
      "email": "sindresorhus@gmail.com"
    }
  ],
  "name": "quick-lru",
  "optionalDependencies": {},
  "readme": "# quick-lru [![Build Status](https://travis-ci.org/sindresorhus/quick-lru.svg?branch=master)](https://travis-ci.org/sindresorhus/quick-lru) [![Coverage Status](https://coveralls.io/repos/github/sindresorhus/quick-lru/badge.svg?branch=master)](https://coveralls.io/github/sindresorhus/quick-lru?branch=master)\n\n> Simple [\"Least Recently Used\" (LRU) cache](https://en.m.wikipedia.org/wiki/Cache_replacement_policies#Least_Recently_Used_.28LRU.29)\n\nUseful when you need to cache something and limit memory usage.\n\nInspired by the [`haslru` algorithm](https://github.com/dominictarr/hashlru#algorithm), but instead uses [`Map`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Map) to support keys of any type, not just strings, and values can be `undefined`.\n\n\n## Install\n\n```\n$ npm install quick-lru\n```\n\n\n## Usage\n\n```js\nconst QuickLRU = require('quick-lru');\n\nconst lru = new QuickLRU({maxSize: 1000});\n\nlru.set('🦄', '🌈');\n\nlru.has('🦄');\n//=> true\n\nlru.get('🦄');\n//=> '🌈'\n```\n\n\n## API\n\n### new QuickLRU([options])\n\nReturns a new instance.\n\n### options\n\nType: `Object`\n\n#### maxSize\n\n*Required*<br>\nType: `Object`\n\nMaximum number of items before evicting the least recently used items.\n\n### Instance\n\nThe instance is [`iterable`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Iteration_protocols) so you can use it directly in a [`for…of`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Statements/for...of) loop.\n\nBoth `key` and `value` can be of any type.\n\n#### .set(key, value)\n\nSet an item. Returns the instance.\n\n#### .get(key)\n\nGet an item.\n\n#### .has(key)\n\nCheck if an item exists.\n\n#### .peek(key)\n\nGet an item without marking it as recently used.\n\n#### .delete(key)\n\nDelete an item.\n\n#### .clear()\n\nDelete all items.\n\n#### .keys()\n\nIterable for all the keys.\n\n#### .values()\n\nIterable for all the values.\n\n#### .size\n\nGet the item count.\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
  "readmeFilename": "readme.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/sindresorhus/quick-lru.git"
  },
  "scripts": {
    "test": "xo && nyc ava"
  },
  "version": "1.1.0"
}
