jaredwray / flat-cache

A stupidly simple key/value storage using files to persist the data
MIT License
165 stars 30 forks source link

Option for auto-save #105

Closed stevage closed 3 months ago

stevage commented 3 months ago

Consider an option that automatically persists every change:

const cache = flatCache.load('cacheId', path.resolve('./path/to/folder'), { autoSave: true });
jaredwray commented 3 months ago

@stevage - we haven’t seen any traction on this request so will close it out. If you want to contribute this feature you can as PRs are welcome!