ccusage / data-loader / loadDailyUsageData
Function: loadDailyUsageData()
ts
function loadDailyUsageData(options?): Promise<object[]>;Loads and aggregates Claude usage data by day Processes all JSONL files in the Claude projects directory and groups usage by date
Parameters
| Parameter | Type | Description |
|---|---|---|
options? | LoadOptions | Optional configuration for loading and filtering data |
Returns
Promise<object[]>
Array of daily usage summaries sorted by date