UNPKG

openrxiv-cli

Version:

CLI tool to download openRxiv MECA files from AWS S3 for text and data mining

36 lines 1.08 kB
/** * Month utility functions for batch processing */ /** * Generate a range of months to process backwards from current month to 2018-12 */ export declare function generateMonthRange(): string[]; /** * Parse month input and return array of months to process */ export declare function parseMonthInput(monthInput: string): string[]; /** * Parse wildcard pattern like "2025-*" to get all months in that year */ export declare function parseWildcardPattern(pattern: string): string[]; /** * Validate month format (YYYY-MM) */ export declare function validateMonthFormat(month: string): boolean; /** * Sort months chronologically (oldest first) */ export declare function sortMonthsChronologically(months: string[]): string[]; /** * Get current month in YYYY-MM format */ export declare function getCurrentMonth(): string; /** * Get previous month in YYYY-MM format */ export declare function getPreviousMonth(): string; /** * Check if a month is in the future */ export declare function isFutureMonth(month: string): boolean; //# sourceMappingURL=months.d.ts.map