@edjopato/datastore

Handles different ways to store data within NodeJS

Usage no npm install needed!

<script type="module">
  import edjopatoDatastore from 'https://cdn.skypack.dev/@edjopato/datastore';
</script>

README

@edjopato/datastore

NPM Version node Dependency Status Dev Dependency Status

Handles different ways to store data within NodeJS

All implementation follow their specific interface. This way its possible to swap implementations without problems.

The implementation should use as less async as possible. That way implementations can be used in synchronous environments. Example: KeyValueInMemoryFiles uses only set() async, everything else is done from memory which is synchronous.

Install

$ npm install @edjopato/datastore