UNPKG

@qntm-code/utils

Version:

A collection of useful utility functions with associated TypeScript types. All functions have been unit tested.

9 lines (8 loc) 339 B
/** * Gets the month names for the provided locale. Defaults to the browser's locale. Optionally, you can provide a format. */ export declare function getMonthNames(options?: GetMonthNamesOptions): string[]; export interface GetMonthNamesOptions { locale?: string; format?: 'numeric' | '2-digit' | 'long' | 'short' | 'narrow'; }