QwikDev/partytown
Relocate resource intensive third-party scripts off of the main thread and into a web worker. 🎉 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
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
- readme: https://github.com/QwikDev/partytown · fetched 2026-08-28 · 810c99a1e181
- homepage: https://partytown.qwik.dev · fetched 2026-08-29 · 956ccac74e09
- site_page: https://partytown.qwik.dev/getting-started · fetched 2026-08-29 · 60d055d7203c
- site_page: https://qwik.dev/docs/integrations/partytown · fetched 2026-08-29 · 2f7a8a766b8f
- site_page: https://partytown.qwik.dev/faq · fetched 2026-08-29 · 40b59895e46c
- site_page: https://partytown.qwik.dev/integrations · fetched 2026-08-29 · a4a2a7fb0b06
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| QwikDev/partytown | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="QwikDev/partytown")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem