Available plugins
debug plugin
GitHub: https://github.com/smolak/stash-it-plugin-debug
Docs: https://smolak.github.io/stash-it-plugin-debug/
Example
import { registerPlugins } from 'stash-it';
import createDebugPlugin from 'stash-it-plugin-debug';
const callback = console.log;
// assuming that you already have cache instance
const cacheWithPlugins = registerPlugins(cacheInstance, [ createDebugPlugin(callback) ]);
cacheWithPlugins.runDiagnostics();
More to come...
"I have created plugin of my own, how can I list it here?"
If you did, let me know. I will have a look and if it’s fine, it will appear on the list.