{"library":"dataloader-cache-lru","type":"library","category":null,"description":"An LRU (least recently used) cache implementation compatible with Facebook's DataLoader. Version 1.0.1 is the current stable release; the package has not seen updates since 2017, reflecting a maintenance or deprecated state. It wraps the lru-cache module to provide bounded memory usage for DataLoader instances that persist across requests, such as in GraphQL contexts. Unlike the default Map cache, it evicts least recently used entries when the cache size limit is exceeded. Also supports clearing specific keys when records mutate. This package is specific to DataLoader and offers no alternative caching strategies.","language":"javascript","status":"maintenance","version":"1.0.1","tags":["javascript","feathers","feathers-plus","feathers-plugin","dataloader","DataLoader","GraphQL","cache","LRU"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install dataloader-cache-lru","imports":["import createCache from 'dataloader-cache-lru';","const createCache = require('dataloader-cache-lru');","import createCache from 'dataloader-cache-lru';"]},{"cmd":"yarn add dataloader-cache-lru","imports":[]},{"cmd":"pnpm add dataloader-cache-lru","imports":[]}],"homepage":"https://github.com/eddyystop/dataloader-cache-lru","github":"git://github.com/eddyystop/dataloader-cache-lru","docs":null,"changelog":null,"pypi":null,"npm":"dataloader-cache-lru","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}