Elestia Open Source Ratings
5.0

@js-temporal/polyfill

Reasonable, with limits. 7th of 10 date and time libraries.

@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.

GitHubnpm

Scores

Overall5.0

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 4.0, likely 3.0 to 5.5

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, likely 4.7 to 7.2

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 many6.2

How many developers need a tool for this job?

Claude Opus 5.5: 6.0, likely 4.0 to 7.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, likely 5.2 to 7.6

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 lot5.7

How well does it do the job for those who need it?

Claude Opus 5.5: 4.5, likely 3.0 to 6.0

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, likely 5.5 to 8.0

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 time4.4

Will it still be a good choice in two years?

Claude Opus 5.5: 4.0, likely 2.5 to 6.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, likely 3.3 to 6.3

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 widely4.7

How many use it, and is that growing?

Claude Opus 5.5: 5.0, likely 3.5 to 6.5

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.

  • npm downloadsLast4Weeks: 26.6M now vs 1.49M a year ago.
  • dependents: 1,430 repositories and 111 packages.
  • bluesky posts: 0 posts, against 5 for temporal-polyfill.

GPT-6.2 Sol: 4.3, likely 3.0 to 5.9

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.

  • npm downloadsLast4Weeks and downloadsSame4WeeksYearAgo: 26.6 million downloads versus 1.49 million a year earlier.
  • medianDownloadsRatio: The catalog’s year-over-year median multiplier is 4.1.
  • dependents and peers: More indexed repositories than the other Temporal polyfill and far fewer than the leading date libraries.
  • humanloads.dev/%40js-temporal/polyfill: The November spike persists after filtering for mirrors and crawlers. CI and transitive installs still count.
Vouched for4.6

Who stands behind it being good?

Claude Opus 5.5: 4.0, likely 2.5 to 5.5

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, likely 3.9 to 6.6

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.

Safe7.0

How safe is it to depend on?

Claude Opus 5.5: 7.0, likely 6.0 to 8.5

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.

  • advisories total: 0 advisories.
  • scorecard score: 5.6; Token-Permissions, Security-Policy and SAST all score 0.
  • npm dependencies: 1 dependency.

GPT-6.2 Sol: 7.0, likely 5.8 to 8.3

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.

  • npm license and dependencies: Permissive ISC license and one runtime dependency.
  • advisories total: Zero tracked OSV advisories.
  • scorecard score and checks: 5.6 overall, full marks for code review, zero for token permissions and security policy, and no signed-release assessment.
  • github.com/js-temporal/temporal-polyfill/blob/main/release-checklist.md: Documents tests, review, and manual npm publishing with two-factor authentication.

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

npm downloads, 4 weeks
27M ×18 in a year
GitHub stars
798
Commits, 12 months
144
npm version
0.5.1 Mar 2025
Versions, 12 months
0
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
5.6 out of 10, Nov 2026
Licence
ISC

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

Read on 21 November 2026 from GitHub (js-temporal/temporal-polyfill), npm (@js-temporal/polyfill), OSV and the OpenSSF Scorecard.

Date and time libraries

  1. 8.0date-fns
  2. 7.5temporal-polyfill
  3. 6.8Day.js
  4. 6.6Luxon
  5. 5.5Tempo
  6. 5.2Spacetime
  7. 5.0@js-temporal/polyfill
  8. 4.2date-fns-tz
  9. 3.8Moment Timezone
  10. 3.6Moment.js
Compare all 10 on six scores