{"library":"mnth","type":"library","category":null,"description":"mnth is a lightweight, framework-agnostic utility library designed to simplify the generation of calendar-style month data. Its primary function, `getCalendarMonth`, takes a `Date` object and an optional configuration (e.g., `firstDayOfWeek`) to return a 2D array of `Date` objects, representing all days visible in a given month's calendar view, including leading and trailing days from adjacent months. Currently at version 2.0.0, the package provides a focused solution for UI components like datepickers and full calendars, distinguishing itself by providing raw `Date` objects for maximum flexibility rather than pre-formatted strings or complex component structures. It ships with TypeScript types, promoting strong type checking and improved developer experience. The library is part of the `nextools/metarepo` monorepo.","language":"javascript","status":"active","version":"2.0.0","tags":["javascript","date","month","calendar","typescript"],"install":[{"cmd":"npm install mnth","imports":["import { getCalendarMonth } from 'mnth';","import type { Options } from 'mnth';"]},{"cmd":"yarn add mnth","imports":[]},{"cmd":"pnpm add mnth","imports":[]}],"homepage":null,"github":"https://github.com/nextools/metarepo","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/mnth","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/mnth/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Mon Jul 20","install_tag":null}}