MCPcopy Create free account
hub / github.com/anomalyco/opencode / stats.ts

File stats.ts

script/stats.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#!/usr/bin/env bun
2
3async function sendToPostHog(event: string, properties: Record<string, any>) {
4 const key = process.env["POSTHOG_KEY"]

Callers

nothing calls this directly

Calls 6

fetchReleasesFunction · 0.85
calculateFunction · 0.85
fetchNpmDownloadsFunction · 0.85
sendToPostHogFunction · 0.85
saveFunction · 0.70
logMethod · 0.45

Tested by

no test coverage detected