Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
3
async
function
sendToPostHog(event: string, properties: Record<string, any>) {
4
const
key = process.env[
"POSTHOG_KEY"
]
Callers
nothing calls this directly
Calls
6
fetchReleases
Function · 0.85
calculate
Function · 0.85
fetchNpmDownloads
Function · 0.85
sendToPostHog
Function · 0.85
save
Function · 0.70
log
Method · 0.45
Tested by
no test coverage detected