Module, allows to save application data between launches in json data file. Api most liked as LocalStorage API
Usage
var LocalCache = ; cache = '.cache/filetocache.json';cache;cache; // value
Options
fileName skipFileCaching;
fileName
- (optional withskipFileCaching
:true
) Path to cache file, also used as storeid
skipFileCaching
- (optional) disable file cache, defaultfalse
FS Perfomance
All manipulation agregating and applying 1 time per second. But, don't panic, on nodejs exit, everything will be saved into file.