File Conf Cache
A simple node js module that allows treating a local file as a configuration database.
This is done by making sure that every property read will efficiently check if the file is updated, if it is, the repository will be updated.
Usage:
var fileConfCache = ; // Init configuration:const conf = //Define a reader method: { return _key;} //read dataconf
Reader method
Reader method is left for the client to implment to allow functionalities such as default value:
{ return _key || defaultValue;} conf == 'marak'
Or various other more complicated logic