169

jsDelivr - A free, fast, and reliable Open Source CDN

 6 years ago
source link: https://www.jsdelivr.com/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

A free CDN for Open Source

fast, reliable, and automated

serving ~ 95 billion requests / month
wordpress.png

// load any project hosted on npm

https://cdn.jsdelivr.net/npm/package@version/file

// load jQuery v3.2.1

https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js

// use a version range instead of a specific version

https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js

https://cdn.jsdelivr.net/npm/jquery@3/dist/jquery.min.js

// omit the version completely to get the latest one

// you should NOT use this in production

https://cdn.jsdelivr.net/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 you

https://cdn.jsdelivr.net/npm/[email protected]/src/core.min.js

// omit the file path to get the default file

https://cdn.jsdelivr.net/npm/[email protected]

// add / at the end to get a directory listing

https://cdn.jsdelivr.net/npm/jquery/

jsDelivr operates thanks to our main sponsors:

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK