MCPcopy
hub / github.com/npmx-dev/npmx.dev / clearClientCaches

Function clearClientCaches

app/composables/useCharts.ts:77–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75
76/** Clears client-side promise caches. Exported for use in tests. */
77export function clearClientCaches() {
78 npmDailyRangeCache?.clear()
79 likesEvolutionCache?.clear()
80 contributorsEvolutionCache?.clear()
81 repoMetaCache?.clear()
82}
83
84type GitHubContributorWeek = {
85 w: number

Callers 1

use-charts.spec.tsFile · 0.90

Calls 1

clearMethod · 0.80

Tested by

no test coverage detected