v0.1.1
[0.1.1] — 2026-07-21
Initial release.
Added
format(value, pattern)— token formatting directly on any Temporal value
(PlainDate,PlainTime,PlainDateTime,PlainYearMonth,PlainMonthDay,
ZonedDateTime). No JavaScriptDatein the code path.parse(input, pattern, targetTypeName, options?)— numeric token parsing that
constructs a real Temporal value via nativeglobalThis.Temporalor a
caller-supplied{ temporal }implementation.- Unicode TR35-style numeric token set:
yyyy yy y MM M dd d HH H mm m ss s S…
plusZZ(UTC offset) andVV(IANA zone id) forZonedDateTime. Single-quoted
literals ('T',''). - Per-type token validity checks; documented two-digit-year (
yy) pivot
(00–68 → 2000s, 69–99 → 1900s);overflow: "reject"so out-of-range input fails
loudly. getTemporalType,isTemporal, and the error typesFormatError,ParseError,
InvalidPatternError.- Zero runtime dependencies. Dual CJS/ESM builds with
.d.ts/.d.cts; subpath
exportstemporal-format-parse/formatandtemporal-format-parse/parsefor tree-shaking.