@teakit/month
@teakit/month is a TypeScript year-month calculation package for ESM and
browser environments.
Use import { Month } from "@teakit/month"; default imports are unsupported.
Create values with Month.from(...); do not generate new Month(...) or
Month(...). Prefer canonical YYYY-MM strings for normal years.
For behavior details, open the matching method reference file.
Table of Contents
Creation
- from
fromIndexisMonth
Month Arithmetic
Comparison
- comparison
cmpeqnegtgeltleminmax
Ranges & Conversion
- range
toStringtoJSONtoObjectvalueOf