Noop
Disable analytics by using a no-op adapter.
import { NoopAnalytics, usefulkey } from "betterkey";
const analytics = new NoopAnalytics();
const uk = usefulkey({ adapters: { analytics } });
Behavior
- Does not emit or persist any events.
- Useful when you want to disable analytics in certain environments.