No description
Find a file
2026-01-13 12:49:28 +01:00
.github/workflows feat: Use Node 20, drop Support for Node 16. 2024-01-16 12:47:36 +01:00
src fix: changed typing of isKey in datastore 9.0 2026-01-13 12:34:41 +01:00
test fix: changed typing of isKey in datastore 9.0 2026-01-13 12:34:41 +01:00
.gitattributes feat: first commit(by dts) 2023-04-24 08:33:46 +02:00
.gitignore feat: update to datastore 9.x 2026-01-13 12:27:50 +01:00
LICENSE feat: first commit(by dts) 2023-04-24 08:33:46 +02:00
package-lock.json 9.0.2 2026-01-13 12:49:28 +01:00
package.json 9.0.2 2026-01-13 12:49:28 +01:00
README.md chore(CI): update to vitest 2025-07-09 12:26:20 +02:00
tsconfig.json feat: basic Support for transactions and queriesl move to @google-cloud/datastore 8 2025-07-09 13:11:12 +02:00

version

datastore-simulator

This is a in process Simulator for the Google Cloud Datastore Node.js Client @google-cloud/datastore for easy integration testing.

It is inspired by datastore-mock but tries be Typescript compatible and model the Cloud Datastore API surface as close as possible.

datastore-simulator does not try to model transactions, queries and consistency.

Usage:

Just intatiate a Datastore from 'datastore-simulator':

import {Datastore} from 'datastore-simulator'

See also