What is JsDelivr?
jsDelivr is a free, fast, and reliable open source CDN service for hosting npm packages and files from GitHub directly in websites and web applications. It serves over 4 billion requests per month.
Developers can link directly to any file from npm or GitHub rather than needing to download and host those files themselves. For example, linking to a jQuery file would look like this:
https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js
jsDelivr handles caching, CDN distribution, minification, and more so developers don't have to worry about any of that. It's used by over 1.5 million websites to load common JavaScript libraries.
Some key advantages of jsDelivr include:
- Free and open source
- Super fast worldwide CDN
- Automatically updated each time a project version changes
- Supports semver version range requests
- Works for any public npm and GitHub repositories
- Minified versions of files available
With simple linking, robust CDN hosting, and automatic updates, jsDelivr makes loading external dependencies incredibly easy for developers.