@naturalcycles/datastore-lib
v3.39.1
Published
Opinionated library to work with Google Datastore
Downloads
585
Readme
@naturalcycles/datastore-lib
Opinionated library to work with Google Datastore
Features
- BaseDao abstract class for extension
- DBM / BM / FM models, conversion, validation
- DB fields convention (
created
,updated
,_ver
) - Simplified ID handling (always String ids)
- Simple and powerful In-Memory Datastore emulator for faster and safer unit testing (!)
- Streaming with RxJS Observable interface
- Anonymization hook to be able to plug your implementation (privacy by design)
- ...
Packaging
engines.node >= 10.13
: Latest Node.js LTSmain: dist/index.js
: commonjs, es2018types: dist/index.d.ts
: typescript types/src
folder with source*.ts
files included