Pika CDN
Load any npm package, anywhere (even Deno).
import {Component, render} from 'https://cdn.pika.dev/preact@^10.0.0';

simple.

Every npm package can be loaded from Pika CDN as a modern ESM import. If a package wasn't written as ESM, we'll do the work to convert it for you.

// Basic Example
const {default: SweetAlert} = await import("https://cdn.pika.dev/sweetalert2");
SweetAlert.fire('Pika CDN is awesome!');

smart.

Every package is optimized to the environment that requested it. That means that only legacy browsers pay the cost of transpiled/polyfilled code, and modern environments get native code.

REQUEST USER-AGENT
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36
Sending...
ES2019

fast.

Leverage our fast, global CDN.

Leverage modern network optimizations like HTTP/2 & Brotli compression.

Get automatic caching of every package, by default.

Pika CDN PRO

Want to get more out of Pika CDN? Get early access to PRO features like:

  • Private Registry Support
  • Private Asset Hosting
  • Access to our Private, Global CDN
  • Service Level Agreement (SLA)
  • Audit Logs & Customer Support

Join the waitlist to get notified when Pro becomes available.