A free CDN for open source projects
- // load any project hosted on npmhttps://cdn.polyfillcache.com/npm/package@version/file// load jQuery v3.7.1https://cdn.polyfillcache.com/npm/jquery@3.7.1/dist/jquery.min.js// use a version range instead of a specific versionhttps://cdn.polyfillcache.com/npm/jquery@3.7/dist/jquery.min.jshttps://cdn.polyfillcache.com/npm/jquery@3/dist/jquery.min.js// omit the version completely to get the latest one// you should NOT use this in productionhttps://cdn.polyfillcache.com/npm/jquery/dist/jquery.min.js// add '.min' to any JS/CSS file to get a minified version// if one doesn't exist, we'll generate it for youhttps://cdn.polyfillcache.com/npm/jquery@3.7.1/src/core.min.js// omit the file path to get the default filehttps://cdn.polyfillcache.com/npm/jquery@3.7
Polyfill operates thanks to our main sponsors
Built for production
Multi-CDN Global Network
& three DNS providers
of presence
network
and routing
and failover
and Privacy Policy
Developer
Friendly
ll files from npm and Github available with zero setup
A free API for all your
NPM and ESM needs
The polyfill API allows you to get details about NPM packages, such as their versions, tags, and files. By analyzing package metadata and its real usage, it can automatically suggest the correct entry point for each file type.
Additionally the API provides detailed download statistics for each project, version, and file, as well as network-wide usage statistics.
- Get project entry points
- List project versions
- List package files
- 1https://data.polyfillcache.com/v1/packages/npm/bootstrap@5.1.0/entrypoints
- 2
- 3//=>
- 4{
- 5 "entrypoints": {
- 6 "js": {
- 7 "file": "/dist/js/bootstrap.min.js",
- 8 "guessed": false,
- 9 },
- 10 "css": {
- 11 "file": "/dist/css/bootstrap.min.js",
- 12 "guessed": false,
- 13 }
- 14 }
- 15}
Learn more about
the infrastructure that
powers polyfill
- 1import { Fireworks } from 'https://cdn.polyfillcache.com/fireworks-js/+esm';
- 2
- 3let container = document. querySelector('.container');
- 4
- 5let container = {
- 6 gravity": 1.4,
- 7 opacity": 0.4,
- 8 autoresize": true,
- 9 acceleration": 1.00,
- 10};
- 11
- 12let fireworks = new Fireworks(container, options);
- 13
- 14fireworks.start();
- 15
A New-Age CDN for
JavaScript modules
Load modern JavaScript packages built for you on-demand.
Works in modern web browsers, node.js, and deno.
- Global Multi-CDN
- HTTP/3, minification, brotli compression, fine-tuned HTTP caching, dependency preloading
- Permanent storage shared by all edge servers
Analytics and Stats
Use our stats to better understand how your projects are being used, which versions are popular, and which files are being downloaded the most.
Custom CDN Endpoints
Polyfill is happy to support unique OSS use-cases that require a fast CDN