Smart-Cache
Smart-Cache is a tiny nodejs fs caching module that fits everywhere, It supports custom validate and fetch functions so You can use it for network mounts or efficient network downloads in your apps.
My personal use case was that I was working on a nodejs assets server that automatically transpiles the contents, and for that I needed and efficient yet strong and reliable cache, Tara! Smart-Cache was born.
API
<TVal TCompare>
Example
const SmartCache = const smartCache = smartCache
License
This project is licensed under the terms of MIT License. See the LICENSE file for more info.