Bundle size
Every import of @northguild/gmt carries @js-temporal/polyfill, so the polyfill row is the floor under every other row: no import is smaller than it. The last four columns of the other rows show what is left once the floor is taken away.
The @northguild/gmt row is the whole package, all 714 public functions, which is the figure a package-size service such as Bundlephobia reports. A single function from a module costs far less than that row.
| Import | Minified | Gzipped | Minified over the polyfill | Gzipped over the polyfill | Budget (minified) |
|---|---|---|---|---|---|
import * as gmt from "@northguild/ | 561.1 kB | 153.6 kB | 408.6 kB | 109.4 kB | 566.3 kB |
import { Temporal } from "@js-temporal/ | 152.5 kB | 44.2 kB | floor | floor | none |
import { isValidDate } from "@northguild/ | 153.4 kB | 44.6 kB | 0.8 kB | 0.4 kB | 154.9 kB |
import { formatDate } from "@northguild/ | 156.9 kB | 45.7 kB | 4.3 kB | 1.5 kB | 158.3 kB |
import { businessDaysBetween } from "@northguild/ | 155.9 kB | 45.6 kB | 3.4 kB | 1.4 kB | 157.5 kB |
import { addBusinessDays } from "@northguild/ | 157.0 kB | 46.0 kB | 4.5 kB | 1.8 kB | 158.6 kB |
import { chargeableDays } from "@northguild/ | 200.6 kB | 59.6 kB | 48.0 kB | 15.4 kB | 201.9 kB |
import { operatingTimeBetween } from "@northguild/ | 208.4 kB | 61.7 kB | 55.9 kB | 17.5 kB | 209.8 kB |
import { dutyViolations } from "@northguild/ | 232.8 kB | 69.5 kB | 80.2 kB | 25.3 kB | 234.4 kB |
Sizes come from bundling packages/gmt/src with esbuild, minified, as ES modules for a neutral platform. 1 kB is 1,000 bytes. The minified size of each row is gated: the repository’s check fails when it passes the budget in the last column, and a budget changes only by a reviewed edit. Gzipped sizes are reported and never gated, because they vary with the version of zlib.
The polyfill stays until a stable Safari ships Temporal and the weekly run against native Temporal passes on Node 26, Chromium, Firefox and WebKit for 12 weeks running (#316).
Code examples: MIT-0. Packages: MIT. Third-party data and components: their own licences, credited where they appear. Everything else:© 2026 NorthGuild, all rights reserved.