# unpkg/unpkg

The CDN for everything on npm

Repository: https://github.com/unpkg/unpkg
Canonical: https://ross.abutalabs.com/products/unpkg
Homepage: https://unpkg.com
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2026-08-26T21:51:47+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 3845, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3406, forks 334 (observed 2026-08-28T04:08:03.127894+00:00)

## What it is
unpkg is a global content delivery network that serves any file from any npm package via simple URLs like unpkg.com/package@version/file. The repository contains the production source, including Cloudflare Workers for the website, package browser, and ESM serving, plus a Bun-based file server backend.

## Use cases
- load npm package files directly in the browser via script tags
- serve browser-ready ESM builds of npm packages
- browse and explore files inside npm packages
- pin dependencies to exact versions or semver ranges in a URL
- self-host an npm file CDN on Cloudflare Workers and Fly.io

## When to choose
- you need to load a specific file from any npm package over a CDN without installing it
- you want browser-ready ESM modules, import maps, or inline TS/TSX transforms from npm packages
- you want to browse package contents and file listings online
- you want to run your own npm file CDN infrastructure

## When to avoid
- you need a full package manager or dependency resolution for local development
- you require guaranteed uptime SLAs for production-critical assets without a fallback
- you need private npm registry packages

## Facets
- artifact type: service
- maturity: active
- function: http-server, caching, web-framework
- domain: web-development, frontend, developer-tools, apis
- platform: cloud, bun
- tags: cdn, npm, esm, cloudflare-workers, package-delivery, self-hostable, nodejs, typescript

## Member repositories
- unpkg/unpkg (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:03.127894+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:38:36.521555+00:00, confidence not recorded.
  - readme: https://github.com/unpkg/unpkg (fetched 2026-08-28T04:08:03.127894+00:00, sha 63e4bc122324)
  - homepage: https://unpkg.com (fetched 2026-08-29T09:32:40.456361+00:00, sha 250cb07eb6ba)
  - registry_npm: https://registry.npmjs.org/unpkg (fetched 2026-08-29T09:32:40.460998+00:00, sha 7aa2441c251e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
