# @js-temporal/polyfill: 5.0 out of 10

Reasonable, with limits. 7th of 10 in [Date and time libraries](https://elestia.ai/opensource/dates/index.md).

@js-temporal/polyfill is the Temporal API polyfill started by champions of the Temporal proposal. The TC39 README still lists it as alpha. Its last release, 0.5.1 from March 2025, follows a spec snapshot from that date, and fixes have piled up on main without a release. For a new project, the stable, smaller temporal-polyfill or native Temporal is the better pick.

**Best for:** Projects that already use it, or teams that want the proposal champions' implementation and can accept a large, alpha-status bundle.

## Scores

- **Overall: 5.0** (likely 3.9 to 6.4)
  - Claude Opus 5.5 (4.0): It is a correct, spec-minded polyfill, but it is still alpha, unreleased for 19 months and behind the spec. temporal-polyfill does the same job with a stable release, a newer spec and less than half the size. Keep it where it already runs, but choose temporal-polyfill or native Temporal for new work.
  - GPT-6.2 Sol (5.9): The alpha is a reasonable choice when a project needs Temporal and a dedicated CommonJS build. FullCalendar’s stable temporal-polyfill is smaller and ships more recent fixes, while date-fns is a stronger general-purpose choice for code built around Date. The recommendation depends on whether older runtime support outweighs the release gap and reported calendar and typing issues.
- **Needed by many: 6.2** (likely 4.6 to 7.3)
  - Claude Opus 5.5 (6.0): Most JS developers handle dates, and Temporal is becoming the standard API for that work. A polyfill is only needed where native Temporal is missing, mainly Safari and older runtimes, and that need will shrink as engines ship it.
  - GPT-6.2 Sol (6.4): Date handling is common across web and server projects, and Temporal is especially useful for scheduling, time zones, and calendar arithmetic. This package serves the subset that wants Temporal and still targets runtimes without it. The size of that subset depends on which browsers and Node versions teams need to support.
- **Helps a lot: 5.7** (likely 4.3 to 7.0)
  - Claude Opus 5.5 (4.5): It implements the full Temporal API close to the spec, and its types are included. But the published build follows a March 2025 spec snapshot and is 52 kB. Known bugs, such as ZonedDateTime assertion failures and calendar conversion errors, are fixed on main but not released. temporal-polyfill is stable, newer and smaller.
  - GPT-6.2 Sol (6.8): The 0.5.1 alpha gives teams typed calendar dates, nanosecond instants, and daylight-saving-aware arithmetic, with a good cookbook for common tasks. Its browser payload is sizable, and the published types let some calls compile even though they throw at runtime. Reports of zoned arithmetic failures widen the range because their impact depends on the dates and zones an app handles.
- **Holds up over time: 4.4** (likely 2.9 to 6.2)
  - Claude Opus 5.5 (4.0): Commits continue (144 in the last year), but there were zero releases in the year, and a release request has been open since September 2026. As browsers ship Temporal natively, all polyfills lose purpose. The more actively released peer is gaining the role of the default polyfill.
  - GPT-6.2 Sol (4.8): The repository recorded 144 commits in the last year, while npm users have received no update since March 2025. The 0.5 upgrade removed APIs and required a migration, and a downstream team has already had to vendor a calendar fix. Native Temporal gives application code a path forward, but the timing of future package releases and the number of active publishers are unclear.
- **Used widely: 4.7** (likely 3.3 to 6.2)
  - Claude Opus 5.5 (5.0): Downloads rose from 1.49M to 26.6M per 4 weeks, about 18x, far above the 4.1 median. Much of that likely comes from other packages that install it. The 1,430 dependent repositories are a few thousand direct choices, tiny next to date-fns or Day.js but more than temporal-polyfill's recorded 49.
  - GPT-6.2 Sol (4.3): Four-week downloads rose 17.9 times year over year, ahead of the 4.1 times catalog median and the competing polyfill’s 13.2 times growth. The collector found 1,430 dependent repositories and 111 npm packages, a much smaller footprint than date-fns and Day.js. Incomplete dependency coverage and automated installs make the number of direct adopters hard to pin down.
- **Vouched for: 4.6** (likely 3.2 to 6.1)
  - Claude Opus 5.5 (4.0): The proposal champions are behind it, and the TC39 README links to it. That same README labels it alpha and temporal-polyfill stable. Independent write-ups or production reports on it are scarce.
  - GPT-6.2 Sol (5.2): DHIS2’s calendar tooling depends on 0.5.1, and independent compatibility testing verified basic behavior on Node 24. Fedify used the package extensively and switched to the competing polyfill in 2026 to align with native TypeScript declarations. These examples show real use, while the alpha’s production track record is still limited.
- **Safe: 7.0** (likely 5.9 to 8.4)
  - Claude Opus 5.5 (7.0): It has no advisories, a single dependency (JSBI) and the permissive ISC licence. The Scorecard is 5.6, with weak token permissions, no security policy and no SAST. Code review and the dangerous-workflow check score full marks.
  - GPT-6.2 Sol (7.0): The ISC license permits commercial use, JSBI is the only runtime dependency, and OSV lists zero advisories. The release checklist calls for review, tests, and a manual npm publish using two-factor authentication. Weak workflow token permissions and the missing security policy lower confidence, and publisher access and release signing remain unverified.

## Good

- It is written by Temporal proposal champions and closely follows the spec's reference logic.
- It ships its own TypeScript types and has only one runtime dependency (JSBI).
- It has no known security advisories and a permissive ISC licence.
- The repository still gets reviewed commits, with 144 in the last year.

## Bad

- There has been no npm release since March 2025, and an open issue asks for a release of fixes that are already merged.
- At about 52 kB min+gzip, it is more than twice the size of temporal-polyfill.
- It is still alpha (0.x) and follows a March 2025 snapshot of the spec, so it can differ from native Temporal.
- It cannot install a global Temporal object, and it uses JSBI instead of native BigInt.

## The numbers

- Downloads, 4 weeks: 27M
- In a year: ×18
- GitHub stars: 798
- Commits, 12 months: 144
- Last npm release: Mar 2025
- Advisories, 24 months: 0
- Licence: ISC
- GitHub: https://github.com/js-temporal/temporal-polyfill
- npm: https://www.npmjs.com/package/@js-temporal/polyfill

A polyfill of the Temporal API of JavaScript, by people who wrote the Temporal proposal.

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
