Type alias GetWeekDownloadCountOptions

GetWeekDownloadCountOptions: {
    packages: string[];
    startOfWeek?: "monday" | "sunday";
    week: string | Date;
}

Options for getting the download count for the given packages on a given week.

Type declaration

  • packages: string[]

    The packages to get the download count for.

    Example

    ['@aws-lambda-powertools/logger']
    
  • Optional startOfWeek?: "monday" | "sunday"

    The day of the week that the week starts on.

    Default

    monday
    
  • week: string | Date

    The week to get the download count for.

    Example

    '2023-01-01'
    new Date('2023-01-01')
    '2023W01'
    'W01'

Generated using TypeDoc