{"library":"nsql-cache","type":"library","category":null,"description":"An advanced cache layer for NoSQL databases (v1.1.5, last updated ~2020). Vendor-agnostic with adapters for Google Datastore and potentially others. Uses node-cache-manager for multiple store support (e.g., LRU memory, Redis). Provides automatic read-through caching, write-through invalidation, and optional client wrapping for transparent cache management. Distinguishes itself by supporting auto-invalidation based on entity Kind when used with Redis sets. Requires Node >=6.0. Low maintenance cadence; last release was 2019. Not compatible with modern module systems (CJS only).","language":"javascript","status":"maintenance","version":"1.1.5","tags":["javascript","cache","google datastore","gcloud node","google app engine","nodejs"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install nsql-cache","imports":["const NsqlCache = require('nsql-cache');","const dsAdapter = require('nsql-cache-datastore');","cache.get(key); cache.set(key, val, ttl); cache.del(key);"]},{"cmd":"yarn add nsql-cache","imports":[]},{"cmd":"pnpm add nsql-cache","imports":[]}],"homepage":"https://github.com/sebelga/nsql-cache#readme","github":"https://github.com/sebelga/nsql-cache","docs":null,"changelog":null,"pypi":null,"npm":"nsql-cache","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}