$ staticdelivr --github --convert
Production-ready
GitHub assets.
Stop using raw.githubusercontent.com for production. Serve files directly from our global edge network with proper caching and compression.
Infrastructure Features
Proper Headers
Raw GitHub files serve incorrect Content-Types. We serve the correct MIME types with optimized cache-control headers.
URL Format
Structure
https://cdn.staticdelivr.com/gh/user/repo/branch/path/to/file
Examples
Input (GitHub)
https://github.com/jquery/jquery/blob/3.6.4/dist/jquery.min.js Output (CDN)
https://cdn.staticdelivr.com/gh/jquery/jquery/3.6.4/dist/jquery.min.jsDeveloper Tools
Explore our NPM Registry.
Need to serve React, Vue, or other libraries? Use our dedicated NPM endpoint.