| 1 | #!/usr/bin/env node |
| 2 | |
| 3 | /** |
| 4 | * Compatibility entry point. The canonical report is |
| 5 | * `report-active-installs.mjs` — the metric is observed active installs, not |
| 6 | * daily active users, and the canonical name says so. This file exists only so |
| 7 | * `npm run report:dau` and any muscle memory pointing at the old path keep |
| 8 | * working; it adds nothing. |
| 9 | */ |
| 10 | |
| 11 | import { pathToFileURL } from "node:url"; |
| 12 | |
| 13 | import { runCli } from "./report-active-installs.mjs"; |
| 14 | |
| 15 | export * from "./report-active-installs.mjs"; |
| 16 | |
| 17 | if (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) { |
| 18 | runCli("report:dau"); |
| 19 | } |
| 20 |