Menu

Code CDN is a fast, global content delivery network for everything on npm, all files are cached on our servers and delivered to you via our CDN. Use it to quickly and easily load any file from any package using a URL like:

code.ethanmedia.co/:package@:version/:file

Backend powered by UNPKG

Respect for your users

All logs are anonymous and cannot be linked to any users. (We do not collect IP addresses etc)

Extensive Global Edge Network

Powered by EthanMedia Cloud CDN, with over 150 POPs globally.

Powerful Caching

Files are stored and cached on 10+ servers globally for the fastest delivery.

Examples

Using a fixed version:

You may also use a semver range or a tag instead of a fixed version number, or omit the version/tag entirely to use the latest tag.

If you omit the file path (i.e. use a “bare” URL), unpkg will serve the file specified by the unpkg field in package.json, or fall back to main.

Append a / at the end of a URL to view a listing of all the files in a package.