Skip to content

Custom storage provider #178

@eidermaen

Description

@eidermaen

Is it possible to define some custom storage provider, so that the data is not stored in some local file?
In my setup there is some external storage where data can be stored but this one is just a plain JS object storage with no validation etc. That's why I would like to use this library here to have the following:

  • Basically all features of this library including schema validation, migrations, etc.
  • Additionally: Custom provider so that for example when calling conf.set the data is not written to a local file but that I can customize the behavior and then call at this point this external storage api. Same for when calling conf.get I want to retrieve the data from the external storage.

Is this somehow possible with this library? If not, might there be an alternative library or is it imaginable that this library is extended by the possibility of custom providers?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions