{
  "name": "lru-cache",
  "description": "A cache object that deletes the least-recently-used items.",
  "version": "11.5.1",
  "author": "Isaac Z. Schlueter <i@izs.me>",
  "keywords": [
    "mru",
    "lru",
    "cache"
  ],
  "sideEffects": false,
  "scripts": {
    "build": "npm run prepare",
    "prepare": "tshy && bash scripts/build.sh",
    "pretest": "npm run prepare",
    "presnap": "npm run prepare",
    "test": "tap",
    "snap": "tap",
    "preversion": "npm test",
    "postversion": "npm publish",
    "prepublishOnly": "git push origin --follow-tags",
    "format": "prettier --write .",
    "typedoc": "typedoc --tsconfig ./.tshy/esm.json ./src/*.ts",
    "benchmark-results-typedoc": "bash scripts/benchmark-results-typedoc.sh",
    "prebenchmark": "npm run prepare",
    "benchmark": "make -C benchmark",
    "preprofile": "npm run prepare",
    "profile": "make -C benchmark profile",
    "lint": "oxlint --fix src test",
    "postsnap": "npm run lint",
    "postlint": "npm run format"
  },
  "main": "./dist/commonjs/index.min.js",
  "types": "./dist/commonjs/index.d.ts",
  "tshy": {
    "esmDialects": [
      "browser",
      "node"
    ],
    "commonjsDialects": [
      "browser",
      "node"
    ],
    "exports": {
      "./raw": "./src/index.ts",
      ".": {
        "import": {
          "browser": {
            "types": "./dist/esm/browser/index.d.ts",
            "default": "./dist/esm/browser/index.min.js"
          },
          "node": {
            "types": "./dist/esm/node/index.d.ts",
            "default": "./dist/esm/node/index.min.js"
          },
          "types": "./dist/esm/index.d.ts",
          "default": "./dist/esm/index.min.js"
        },
        "require": {
          "browser": {
            "types": "./dist/commonjs/browser/index.d.ts",
            "default": "./dist/commonjs/browser/index.min.js"
          },
          "node": {
            "types": "./dist/commonjs/node/index.d.ts",
            "default": "./dist/commonjs/node/index.min.js"
          },
          "types": "./dist/commonjs/index.d.ts",
          "default": "./dist/commonjs/index.min.js"
        }
      }
    },
    "selfLink": false
  },
  "repository": {
    "type": "git",
    "url": "git+ssh://git@github.com/isaacs/node-lru-cache.git"
  },
  "devDependencies": {
    "benchmark": "^2.1.4",
    "esbuild": "^0.28.0",
    "marked": "^4.2.12",
    "mkdirp": "^3.0.1",
    "oxlint": "^1.65.0",
    "oxlint-tsgolint": "^0.22.1",
    "prettier": "^3.8.3",
    "tap": "^21.7.4",
    "tshy": "^4.1.2",
    "typedoc": "^0.28.19"
  },
  "license": "BlueOak-1.0.0",
  "files": [
    "dist"
  ],
  "engines": {
    "node": "20 || >=22"
  },
  "exports": {
    "./raw": {
      "import": {
        "browser": {
          "types": "./dist/esm/browser/index.d.ts",
          "default": "./dist/esm/browser/index.js"
        },
        "node": {
          "types": "./dist/esm/node/index.d.ts",
          "default": "./dist/esm/node/index.js"
        },
        "types": "./dist/esm/index.d.ts",
        "default": "./dist/esm/index.js"
      },
      "require": {
        "browser": {
          "types": "./dist/commonjs/browser/index.d.ts",
          "default": "./dist/commonjs/browser/index.js"
        },
        "node": {
          "types": "./dist/commonjs/node/index.d.ts",
          "default": "./dist/commonjs/node/index.js"
        },
        "types": "./dist/commonjs/index.d.ts",
        "default": "./dist/commonjs/index.js"
      }
    },
    ".": {
      "import": {
        "browser": {
          "types": "./dist/esm/browser/index.d.ts",
          "default": "./dist/esm/browser/index.min.js"
        },
        "node": {
          "types": "./dist/esm/node/index.d.ts",
          "default": "./dist/esm/node/index.min.js"
        },
        "types": "./dist/esm/index.d.ts",
        "default": "./dist/esm/index.min.js"
      },
      "require": {
        "browser": {
          "types": "./dist/commonjs/browser/index.d.ts",
          "default": "./dist/commonjs/browser/index.min.js"
        },
        "node": {
          "types": "./dist/commonjs/node/index.d.ts",
          "default": "./dist/commonjs/node/index.min.js"
        },
        "types": "./dist/commonjs/index.d.ts",
        "default": "./dist/commonjs/index.min.js"
      }
    }
  },
  "type": "module",
  "module": "./dist/esm/index.min.js"
}
