{"library":"ttl-flat-cache-fixed","type":"library","category":null,"description":"A lightweight, file-based caching library with Time-To-Live (TTL) support, built on top of flat-cache. Current version 1.0.1 provides convenient methods set(), get(), and del() that automatically handle expiration, while still exposing the underlying flat-cache API. It defaults to no expiry unless explicitly configured. Key differentiator is the simplicity of adding TTL to flat-cache without additional dependencies. The package ships TypeScript types.","language":"javascript","status":"active","version":"1.0.1","tags":["javascript","flat","cache","ttl","expires","file","memcache","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install ttl-flat-cache-fixed","imports":["import cache from 'ttl-flat-cache-fixed';","cache.set('myKey', { data: 123 }, 60);","cache.get('myKey');"]},{"cmd":"yarn add ttl-flat-cache-fixed","imports":[]},{"cmd":"pnpm add ttl-flat-cache-fixed","imports":[]}],"homepage":"https://github.com/mugendi/ttl-flat-cache#readme","github":"https://github.com/mugendi/ttl-flat-cache","docs":null,"changelog":null,"pypi":null,"npm":"ttl-flat-cache-fixed","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}