nsql-cache-datastore

JSON →
library 1.1.6 ·javascript
verified Jun 7, 2026

Google Datastore adapter for nsql-cache, enabling automatic caching of Datastore entities and queries. Version 1.1.6 integrates with nsql-cache (peer dependency ^1.1.4) to provide a managed LRU memory cache with configurable TTLs (default: 10 min for key fetches, 5 sec for queries). Key differentiators: transparent cache wrapping of the @google-cloud/datastore client, intelligent batch key fetching (only fetches missing keys from Datastore), and automatic cache invalidation on save/update/delete. Suitable for Node.js >=6.0, no TypeScript typings shipped. Released sporadically, last update 2018. Note: This adapter is also integrated into gstore-node.