Nifty Procrastination Machine
Wondering what’s next for npm?Check out our public roadmap! »

@naturalcycles/datastore-libTypeScript icon, indicating that this package has built-in type declarations

3.8.6 • Public • Published

@naturalcycles/datastore-lib

Opinionated library to work with Google Datastore

npm code style: 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)
  • ...

Packaging

  • engines.node >= 10.13: Latest Node.js LTS
  • main: dist/index.js: commonjs, es2018
  • types: dist/index.d.ts: typescript types
  • /src folder with source *.ts files included

Install

npm i @naturalcycles/datastore-lib

DownloadsWeekly Downloads

84

Version

3.8.6

License

MIT

Unpacked Size

63.9 kB

Total Files

23

Last publish

Collaborators

  • avatar
  • avatar
  • avatar