@naturalcycles/datastore-lib
Version:
Opinionated library to work with Google Datastore, implements CommonDB
19 lines (14 loc) • 967 B
Markdown
## @naturalcycles/datastore-lib
> Opinionated library to work with Google Datastore
[](https://www.npmjs.com/package/@naturalcycles/datastore-lib)
[](https://circleci.com/gh/NaturalCycles/datastore-lib)
[](https://github.com/prettier/prettier)
# 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)
- ...