Ross ROSS = Recommend OSS · open-source software intelligence for agents

QwikDev/partytown

Relocate resource intensive third-party scripts off of the main thread and into a web worker. 🎉 observed · 2026-08-28

github.com/QwikDev/partytown · homepage · TypeScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

95/100

  • Activity 99
  • Release rhythm 87
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: 56
  • age_days: 1839
  • days_rel: 8
  • days_push: 8
  • n_releases_24m: 8

Full methodology

Adoption not part of the score

13765 stars · 448 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

Partytown is a lazy-loaded JavaScript library that relocates resource-intensive third-party scripts (analytics, ads, trackers) off the main thread and into a web worker. It works with any HTML page and offers integrations for frameworks like React, Next.js, Qwik, Angular, and SvelteKit.

Use cases

  • run Google Tag Manager or Facebook Pixel without blocking the main thread
  • improve Lighthouse scores and Core Web Vitals affected by third-party scripts
  • sandbox third-party scripts and control their access to main thread APIs
  • reduce layout thrashing from analytics and ad scripts
  • speed up page load when embedding ads, A/B testing, or tracking scripts

When to choose

  • your site loads third-party scripts like analytics, ads, or trackers that hurt main-thread performance
  • you want to keep the main thread dedicated to your own application code
  • you need to isolate or sandbox third-party script access to DOM APIs

When to avoid

  • your third-party scripts require synchronous main-thread DOM access or frequently manipulate the DOM
  • you cannot thoroughly test scripts, since some may silently fail in the web worker
  • you need guaranteed compatibility in every scenario, as Partytown is still in beta

Facets

library · maturity active

web-framework developer-tools security web-development frontend performance analytics browser cross-platform web-worker third-party-scripts core-web-vitals lighthouse main-thread sandboxing dom-proxying web-server

6 sources

Member repositories

RepositoryRoleHealth v2
QwikDev/partytownmain95

For agents

markdown · JSON · MCP: product_card(name="QwikDev/partytown")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem