Overview
jsDelivr is a free content delivery network for open-source files. If a library is published on npm or GitHub, jsDelivr can serve its files from a fast address that you put straight into a script or stylesheet tag, with no upload step and no account. WordPress plugins and themes have their own address pattern, and the esm.run domain serves packages as ES modules.
Addresses include the package name, a version and the file path. You can pin an exact version or use a range such as a major version number. Adding .min to a JavaScript, CSS or SVG file returns a minified copy with a source map, and a combine address joins several files into one request. Behind the scenes it spreads traffic over several CDN and DNS providers, and it has a network tuned for visitors near China.
The service has run since 2012, is funded by infrastructure sponsors and keeps its code in the open under the MIT licence. A public API reports package versions, file lists and download statistics.
Categories
Features
- Serves any file from npm packages and GitHub repositories
- Separate endpoints for WordPress plugins and themes
- ES module delivery through esm.run
- Exact versions or version ranges in the address
- On-demand minification with source maps
- Combines several files into a single request
- Traffic spread over multiple CDN and DNS providers
- Public API for package metadata and download statistics
Privacy
The project's repository states that jsDelivr does not store any user data and does not track users in any way, though file download data may be used for statistics.
Pros & Cons
Pros
- Free, with no account or API key needed to load files
- States that it does not store user data or track users
- More than one CDN provider behind it, so one outage need not take it down
- Exact-version links stay permanently available
Cons
- Very large packages and very large single GitHub files are not served by default
- Using latest or loose version ranges in production can pull in breaking changes
- Purging the cache needs access granted by email request
- Your site depends on a third party staying online
Community Reviews (0)
No written reviews yet — be the first to rate this tool.
Similar Tools
-
Provides CDN, DNS, and web security services.
Freemium Web API -
Hosts popular JavaScript and CSS libraries on a free CDN.
Free No Signup Web API -
Delivers website content through a global edge CDN.
Freemium API