{"_id":"@aliothor/lru-cache","name":"@aliothor/lru-cache","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@aliothor/lru-cache","version":"0.0.1","description":"Simple “Least Recently Used” (LRU) cache","repository":{"type":"git","url":"git+https://github.com/aliothor/lru-cache.git"},"license":"MIT","sideEffects":false,"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","scripts":{"build":"unbuild","dev":"vitest dev","lint":"eslint .","lint:fix":"automd && eslint . --fix","prepack":"pnpm build","play":"jiti playground","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","test":"pnpm lint && pnpm test:types && vitest run --coverage","test:types":"tsc --noEmit --skipLibCheck"},"devDependencies":{"@types/node":"^20.12.12","@vitest/coverage-v8":"^1.6.0","automd":"^0.3.7","changelogen":"^0.5.5","eslint":"^9.3.0","eslint-config-unjs":"^0.3.1","jiti":"^1.21.0","typescript":"^5.4.5","unbuild":"^2.0.0","vitest":"^1.6.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"packageManager":"pnpm@9.1.3","_id":"@aliothor/lru-cache@0.0.1","gitHead":"5d2e2a724dfc3b1a2151b400a0bcf6cdc6db7faa","bugs":{"url":"https://github.com/aliothor/lru-cache/issues"},"homepage":"https://github.com/aliothor/lru-cache#readme","_nodeVersion":"21.7.3","_npmVersion":"10.5.0","dist":{"integrity":"sha512-dUOU8m764XqPcFtU9prcNvLe9G9BQ9XpmWoE/t8FD4kfGElKphqJfdYLl66K6buklpYqvF0MN7qFYzEwNdevcw==","shasum":"c25d05596f5e048ff0d0932a4d19abe4592f9aa8","tarball":"https://registry.npmjs.org/@aliothor/lru-cache/-/lru-cache-0.0.1.tgz","fileCount":8,"unpackedSize":23134,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH2JFGhYw3PGS9VEFn1Y8dWxZac9NM7jXXAI3v3Re+9bAiEAsPy8+G32wJ6tYOrz3YTa5Kosb/i0lSQmEesrUxJIpbc="}]},"_npmUser":{"name":"pluto957","email":"1811783973@qq.com"},"directories":{},"maintainers":[{"name":"pluto957","email":"1811783973@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lru-cache_0.0.1_1716977630733_0.3731190267265643"},"_hasShrinkwrap":false}},"time":{"created":"2024-05-29T10:13:50.591Z","0.0.1":"2024-05-29T10:13:50.868Z","modified":"2024-05-29T10:13:51.216Z"},"maintainers":[{"name":"pluto957","email":"1811783973@qq.com"}],"description":"Simple “Least Recently Used” (LRU) cache","homepage":"https://github.com/aliothor/lru-cache#readme","repository":{"type":"git","url":"git+https://github.com/aliothor/lru-cache.git"},"bugs":{"url":"https://github.com/aliothor/lru-cache/issues"},"license":"MIT","readme":"# lru-cache\n\n<!-- automd:badges color=yellow -->\n\n[![npm version](https://img.shields.io/npm/v/lru-cache?color=yellow)](https://npmjs.com/package/lru-cache)\n[![npm downloads](https://img.shields.io/npm/dm/lru-cache?color=yellow)](https://npmjs.com/package/lru-cache)\n\n<!-- /automd -->\n\nThis is my package description.\n\n## Usage\n\nInstall package:\n\n<!-- automd:pm-install -->\n\n```sh\n# ✨ Auto-detect\nnpx nypm install lru-cache\n\n# npm\nnpm install lru-cache\n\n# yarn\nyarn add lru-cache\n\n# pnpm\npnpm install lru-cache\n\n# bun\nbun install lru-cache\n```\n\n<!-- /automd -->\n\nImport:\n\n<!-- automd:jsimport cjs cdn name=\"lru-cache\" -->\n\n**ESM** (Node.js, Bun)\n\n```js\nimport {} from \"lru-cache\";\n```\n\n**CommonJS** (Legacy Node.js)\n\n```js\nconst {} = require(\"lru-cache\");\n```\n\n**CDN** (Deno, Bun and Browsers)\n\n```js\nimport {} from \"https://esm.sh/lru-cache\";\n```\n\n<!-- /automd -->\n\n## Development\n\n<details>\n\n<summary>local development</summary>\n\n- Clone this repository\n- Install latest LTS version of [Node.js](https://nodejs.org/en/)\n- Enable [Corepack](https://github.com/nodejs/corepack) using `corepack enable`\n- Install dependencies using `pnpm install`\n- Run interactive tests using `pnpm dev`\n\n</details>\n\n## License\n\n<!-- automd:contributors license=MIT -->\n\nPublished under the [MIT](https://github.com/aliothor/lru-cache/blob/main/LICENSE) license.\nMade by [community](https://github.com/aliothor/lru-cache/graphs/contributors) 💛\n<br><br>\n<a href=\"https://github.com/aliothor/lru-cache/graphs/contributors\">\n<img src=\"https://contrib.rocks/image?repo=aliothor/lru-cache\" />\n</a>\n\n<!-- /automd -->\n\n<!-- automd:with-automd -->\n\n---\n\n_🤖 auto updated with [automd](https://automd.unjs.io)_\n\n<!-- /automd -->\n","readmeFilename":"README.md"}