{"_id":"@8medusa/cache-inmemory","name":"@8medusa/cache-inmemory","dist-tags":{"latest":"2.7.0"},"versions":{"2.7.0":{"name":"@8medusa/cache-inmemory","version":"2.7.0","description":"In-memory Cache Module for Medusa","main":"dist/index.js","repository":{"type":"git","url":"git+https://github.com/medusajs/medusa.git","directory":"packages/modules/cache-inmemory"},"engines":{"node":">=20"},"publishConfig":{"access":"public"},"author":{"name":"Medusa"},"license":"MIT","devDependencies":{"@8medusa/framework":"2.7.0","@swc/core":"^1.7.28","@swc/jest":"^0.2.36","jest":"^29.7.0","rimraf":"^5.0.1","typescript":"^5.6.2"},"scripts":{"watch":"tsc --build --watch","build":"rimraf dist && tsc --build","test":"jest --passWithNoTests"},"peerDependencies":{"@8medusa/framework":"2.7.0"},"_id":"@8medusa/cache-inmemory@2.7.0","gitHead":"8618e6ee3843069ea189ea64d5191d93db52dc9d","types":"./dist/index.d.ts","bugs":{"url":"https://github.com/medusajs/medusa/issues"},"homepage":"https://github.com/medusajs/medusa#readme","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-mPD21NaZvnSR/ABiXeb+ySRz2NWHRoNB8vsjF9WhyXWEdbUgm6LiY9AJBHeb53m0QCSCsDzHiUY/FArnJtZCdA==","shasum":"760779cef12ea4015a916b00cb8f32e38165a5e7","tarball":"https://registry.npmjs.org/@8medusa/cache-inmemory/-/cache-inmemory-2.7.0.tgz","fileCount":23,"unpackedSize":13844,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD2KiIc4N9IMM8D86NmqXs8ymCOSySMSrazydkoOwS4rgIgI9WTMKdzQiHhPc8oPxIaq43flpzEHdzKd3tmdHQHbNQ="}]},"_npmUser":{"name":"8seneca","email":"8seneca@gmail.com"},"directories":{},"maintainers":[{"name":"8seneca","email":"8seneca@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cache-inmemory_2.7.0_1744935926065_0.6528441893283194"},"_hasShrinkwrap":false}},"time":{"created":"2025-04-18T00:25:25.986Z","2.7.0":"2025-04-18T00:25:26.243Z","modified":"2025-04-18T00:25:26.510Z"},"maintainers":[{"name":"8seneca","email":"8seneca@gmail.com"}],"description":"In-memory Cache Module for Medusa","homepage":"https://github.com/medusajs/medusa#readme","repository":{"type":"git","url":"git+https://github.com/medusajs/medusa.git","directory":"packages/modules/cache-inmemory"},"author":{"name":"Medusa"},"bugs":{"url":"https://github.com/medusajs/medusa/issues"},"license":"MIT","readme":"# Medusa Cache In-memory\n\nMedusa in-memory cache module. Use plain JS Map as a cache store.\n\n## Installation\n\n```\nyarn add @8medusa/cache-inmemory\n```\n\n## Options\n\n```\n{\n  ttl?: number // Time to keep data in cache (in seconds)\n}\n```\n\n### Note\n\nRecommended for testing and development. For production, use Redis cache module.\n\n### Other caching modules\n\n- [Medusa Cache Redis](../cache-redis/README.md)\n","readmeFilename":"README.md","_rev":"1-ec706f4d75bcdaff28ae1246348de5f5"}