{"_id":"@wry/caches","_rev":"4321307","name":"@wry/caches","description":"Various cache implementations","dist-tags":{"latest":"1.0.1","next":"1.0.1"},"maintainers":[{"name":"benjamn","email":""}],"time":{"modified":"2026-04-07T22:33:15.000Z","created":"2023-11-10T21:26:30.792Z","1.0.1":"2023-11-28T21:06:36.522Z","1.0.0":"2023-11-10T21:26:30.792Z"},"users":{},"author":{"name":"Ben Newman","email":"ben@eloper.dev"},"repository":{"type":"git","url":"git+https://github.com/benjamn/wryware.git"},"versions":{"1.0.1":{"name":"@wry/caches","version":"1.0.1","author":{"name":"Ben Newman","email":"ben@eloper.dev"},"description":"Various cache implementations","license":"MIT","type":"module","sideEffects":false,"main":"lib/bundle.cjs","module":"lib/index.js","types":"lib/index.d.ts","keywords":[],"homepage":"https://github.com/benjamn/wryware","repository":{"type":"git","url":"git+https://github.com/benjamn/wryware.git"},"bugs":{"url":"https://github.com/benjamn/wryware/issues"},"scripts":{"build":"npm run clean:before && npm run tsc && npm run rollup && npm run clean:after","clean:before":"rimraf lib","tsc":"npm run tsc:es5 && npm run tsc:esm","tsc:es5":"tsc -p tsconfig.es5.json","tsc:esm":"tsc -p tsconfig.json","rollup":"rollup -c rollup.config.js","clean:after":"rimraf lib/es5","prepare":"npm run build","test:cjs":"../../shared/test.sh lib/tests/bundle.cjs","test:esm":"../../shared/test.sh lib/tests/bundle.js","test":"npm run test:esm && npm run test:cjs"},"dependencies":{"tslib":"^2.3.0"},"engines":{"node":">=8"},"gitHead":"fc1400e8db54eb763822c69748c866909363a2c3","readmeFilename":"README.md","_id":"@wry/caches@1.0.1","_nodeVersion":"20.7.0","_npmVersion":"lerna/8.0.0/node@v20.7.0+arm64 (darwin)","dist":{"shasum":"8641fd3b6e09230b86ce8b93558d44cf1ece7e52","size":10157,"noattachment":false,"key":"/@wry/caches/-/@wry/caches-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@wry/caches/download/@wry/caches-1.0.1.tgz"},"_npmUser":{"name":"benjamn","email":"ben@benjamn.com"},"directories":{},"maintainers":[{"name":"benjamn","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/caches_1.0.1_1701205596350_0.6430577699097388"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-28T21:06:36.522Z","publish_time":1701205596522,"_source_registry_name":"default","_cnpm_publish_time":1701205596522},"1.0.0":{"name":"@wry/caches","version":"1.0.0","author":{"name":"Ben Newman","email":"ben@eloper.dev"},"description":"Various cache implementations","license":"MIT","type":"module","main":"lib/bundle.cjs","module":"lib/index.js","types":"lib/index.d.ts","keywords":[],"homepage":"https://github.com/benjamn/wryware","repository":{"type":"git","url":"git+https://github.com/benjamn/wryware.git"},"bugs":{"url":"https://github.com/benjamn/wryware/issues"},"scripts":{"build":"npm run clean:before && npm run tsc && npm run rollup && npm run clean:after","clean:before":"rimraf lib","tsc":"npm run tsc:es5 && npm run tsc:esm","tsc:es5":"tsc -p tsconfig.es5.json","tsc:esm":"tsc -p tsconfig.json","rollup":"rollup -c rollup.config.js","clean:after":"rimraf lib/es5","prepare":"npm run build","test:cjs":"../../shared/test.sh lib/tests/bundle.cjs","test:esm":"../../shared/test.sh lib/tests/bundle.js","test":"npm run test:esm && npm run test:cjs"},"dependencies":{"tslib":"^2.3.0"},"engines":{"node":">=8"},"gitHead":"08a37cd08cc8acee23f359d40552d7254a72dc0a","_id":"@wry/caches@1.0.0","_nodeVersion":"20.7.0","_npmVersion":"10.1.0","dist":{"shasum":"a2d4723b02edcafcb321b48b4c1198ef441f9201","size":9187,"noattachment":false,"key":"/@wry/caches/-/@wry/caches-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@wry/caches/download/@wry/caches-1.0.0.tgz"},"_npmUser":{"name":"benjamn","email":"ben@benjamn.com"},"directories":{},"maintainers":[{"name":"benjamn","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/caches_1.0.0_1699651590597_0.23397422449289262"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-10T21:26:30.792Z","publish_time":1699651590792,"_source_registry_name":"default","_cnpm_publish_time":1699651590792}},"readme":"# @wry/caches\n\nVarious cache implementations, including but not limited to\n\n* `StrongCache`: A standard `Map`-like cache with a least-recently-used (LRU)\n   eviction policy and a callback hook for removed entries.\n\n* `WeakCache`: Another LRU cache that holds its keys only weakly, so entries can be removed\n   once no longer retained elsewhere in the application.\n","_attachments":{},"readmeFilename":"README.md","homepage":"https://github.com/benjamn/wryware","bugs":{"url":"https://github.com/benjamn/wryware/issues"},"license":"MIT"}