conf
conf copied to clipboard
Custom storage provider
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 callingconf.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?