A caching module for the UT framework. Current stable version is 6.0.1. Release cadence follows the UT monorepo releases. Key differentiator: tightly integrated with the UT ecosystem for cache management in Node.js applications.
npm install ut-cacheNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic usage of createCache to instantiate a cache with TTL, and set/get/has/delete/clear operations.
Use import statements instead of require().
Use named imports like import { Cache } from 'ut-cache'.Convert timestamps with new Date(timestamp) if needed.
Call methods synchronously.
Use import { createCache } from 'ut-cache' instead.Use import statement or upgrade to Node.js with --experimental-require-module.
Ensure createCache() is called and assigned: const cache = createCache({...});No dependency data recorded yet.