{"library":"think-cache","type":"library","category":null,"description":"think-cache is a caching middleware for ThinkJS 3.x, version 1.1.2, providing in-memory and file-based caching with a simple API. It integrates seamlessly with ThinkJS controllers and services, leveraging ES6+ features and TypeScript types. Released on a maintenance cycle, it is not actively developed and deprecated in favor of newer caching solutions like lru-cache or node-cache. Differentiators include its tight coupling with ThinkJS's ecosystem and trivial setup for rapid prototyping.","language":"javascript","status":"deprecated","version":"1.1.2","tags":["javascript","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install think-cache","imports":["import Cache from 'think-cache'","import { Cache } from 'think-cache'","import { getCache } from 'think-cache'"]},{"cmd":"yarn add think-cache","imports":[]},{"cmd":"pnpm add think-cache","imports":[]}],"homepage":"https://github.com/thinkjs/think-cache#readme","github":"https://github.com/thinkjs/think-cache","docs":null,"changelog":null,"pypi":null,"npm":"think-cache","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}