Skip to content

ccusage / data-loader / LoadOptions

Type Alias: LoadOptions

ts
type LoadOptions = object & DateFilter;

Configuration options for loading usage data

Type Declaration

claudePath?

ts
optional claudePath?: string;

mode?

ts
optional mode?: CostMode;

order?

ts
optional order?: SortOrder;

offline?

ts
optional offline?: boolean;

sessionDurationHours?

ts
optional sessionDurationHours?: number;

groupByProject?

ts
optional groupByProject?: boolean;

project?

ts
optional project?: string;

startOfWeek?

ts
optional startOfWeek?: WeekDay;

timezone?

ts
optional timezone?: string;

locale?

ts
optional locale?: string;

Released under the MIT License.