cdnjs : cdnjs is a free distributed JS library delivery service.
This technology is used by 8.42% of websites in the CDN category. The most popular industry vertical is Business and Finance, with Business being the top subcategory.
What is cdnjs?
cdnjs is a free, open-source CDN hosting over 4,500 JavaScript and CSS libraries. Powered by Cloudflare's global network, cdnjs serves 200+ billion requests monthly, making it one of the largest JavaScript CDNs. Libraries range from jQuery to React to niche tools used by thousands of sites.
Founded in 2011 by Ryan Kirkman and Thomas Davis, cdnjs was acquired by Cloudflare in 2019 to ensure long-term sustainability. The service remains free, with Cloudflare providing infrastructure. Community members submit and maintain library updates via GitHub pull requests.
cdnjs hosts multiple versions of each library, serves both minified and unminified files, and provides SRI (Subresource Integrity) hashes. With 310+ Cloudflare edge locations, latency is minimal regardless of user location.
Industry Vertical Distribution
Technologies Frequently Used with cdnjs
| Technology | Co-usage Rate | Website |
|---|---|---|
| Cloudflare | 79.12% | http://www.cloudflare.com |
| Open Graph | 58.04% | https://ogp.me |
| core-js | 39.1% | https://github.com/zloirock/core-js |
| Google Tag Manager | 28.66% | http://www.google.com/tagmanager |
| HSTS | 27.78% | https://www.rfc-editor.org/rfc/rfc6797#section-6.1 |
| RSS | 26.15% | https://www.rssboard.org/rss-specification |
| Facebook Pixel | 25.24% | http://facebook.com |
| HTTP/3 | 25.14% | https://httpwg.org/ |
| Google Hosted Libraries | 24.81% | https://developers.google.com/speed/libraries |
| jQuery | 24.63% | https://jquery.com |
cdnjs Infrastructure
URL Structure: https://cdnjs.cloudflare.com/ajax/libs/{library}/{version}/{file}. Example: cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.21/lodash.min.js
API Access: cdnjs provides a JSON API for programmatic library search. Query api.cdnjs.com/libraries?search=react to find libraries matching criteria.
SRI Hashes: Every file includes SHA-256, SHA-384, and SHA-512 hashes. Copy directly from cdnjs.com or API response. Verify integrity in browsers supporting SRI.
Auto-Updates: Bot monitors npm for library updates. New versions appear on cdnjs within hours of npm publish. Manual submissions via GitHub for non-npm libraries.
Cloudflare Network: Files served from 310+ edge locations. HTTP/2 and HTTP/3 support. Brotli compression. Aggressive caching with long TTLs.
Reliability: 100% uptime SLA backed by Cloudflare. Global anycast routing survives regional outages. Enterprise-grade infrastructure at no cost.
AI-Powered Technology Recommendations
Our AI recommender engine, trained on 100 million data points, suggests these technologies for websites using cdnjs:
| Technology | AI Score | Website |
|---|---|---|
| jQuery CDN | 0.15 | https://code.jquery.com/ |
| CareCart Sales Pop Up | 0.15 | https://carecart.io/sales-pop-up-app |
| Mustache | 0.14 | https://mustache.github.io |
| Unpkg | 0.13 | https://unpkg.com |
| Secomapp | 0.13 | https://www.secomapp.com |
| Osano | 0.11 | https://www.osano.com/ |
| Google Hosted Libraries | 0.1 | https://developers.google.com/speed/libraries |
| Showit | 0.1 | https://showit.co |
| Product Personalizer | 0.1 | https://productpersonalizer.com |
| Microsoft Ajax Content Delivery Network | 0.09 | https://docs.microsoft.com/en-us/aspnet/ajax/cdn/overview |
IAB Tier 1 Vertical Distribution
Relative Usage by Industry
Market Distribution Comparison
cdnjs Use Cases
Production Websites: High-traffic sites use cdnjs for library delivery. Cloudflare infrastructure handles scale. Lower origin bandwidth costs.
Development & Prototyping: Quick access to any library version without npm install. Test library upgrades by changing URL version number.
Documentation Sites: Library documentation often embeds working examples. cdnjs provides consistent, reliable library delivery for demos.
CodePen/JSFiddle: Online code editors default to cdnjs. Share examples with guaranteed working library links.
Static Sites: Jekyll, Hugo, or plain HTML sites without build processes use cdnjs directly. No bundler configuration required.
WordPress/CMS: Themes and plugins reference cdnjs for dependencies. Reduces hosting bandwidth. Works when self-hosting isn't possible.
IAB Tier 2 Subcategory Distribution
Top Websites Using cdnjs
| Website | IAB Category | Subcategory | OpenRank |
|---|---|---|---|
| nielsen.com | Business and Finance | Industries | 6.19 |
| thelancet.com | Medical Health | Diseases and Conditions | 6.01 |
| wpengine.com | Business and Finance | Business | 5.98 |
| podbean.com | Music and Audio | Talk Radio | 5.97 |
| wetransfer.com | Technology & Computing | Computing | 5.96 |
| siteground.com | Technology & Computing | Computing | 5.92 |
| unesco.org | Business and Finance | Continent | 5.9 |
| payrollhero.com | Business and Finance | Remote Working | 5.78 |
| miyalingerie.com | Style & Fashion | Women's Fashion | 5.76 |
| filmsbykris.com | Technology & Computing | Computing | 5.75 |
cdnjs Implementation
Script Tags with SRI
<!-- React with SRI -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/18.2.0/umd/react.production.min.js"
integrity="sha512-8Q6Y9XnTbOE+JNvjBQwJ2H8S+UV4uA6hiRykhdtIyDYZ2TprdNmWOUaKdGzOhyr4dCyk287OejbPvwl7lrfqrQ=="
crossorigin="anonymous"
referrerpolicy="no-referrer"></script>
<!-- Axios -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/axios/1.6.2/axios.min.js"
integrity="sha512-b94Z6431JyXY14iSXwcYCuTRSiFEqdwpI/fTs0ZpfM+RBKrC6k+=..."
crossorigin="anonymous"></script>
<!-- Animate.css -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css">
API Query
// Search for charting libraries
fetch('https://api.cdnjs.com/libraries?search=chart&fields=name,version,description')
.then(r => r.json())
.then(data => {
data.results.forEach(lib => {
console.log(`${lib.name}@${lib.version}: ${lib.description}`);
});
});
Usage by Domain Popularity (Top 1M)
Usage by Domain Age
The average age of websites using cdnjs is 12.1 years. The average OpenRank (measure of backlink strength) is 2.6.
cdnjs Advantages
Massive Library Selection: 4,500+ libraries covering every JavaScript and CSS need. From mainstream (React, Vue, Angular) to specialized (D3 plugins, PDF.js, highlight.js).
Cloudflare Infrastructure: Enterprise-grade CDN at no cost. 310+ edge locations. HTTP/3, Brotli compression, instant purging. Same network serving 20% of the web.
100% Free: No accounts, no API keys, no rate limits, no tracking. Cloudflare sponsors as community service. Sustainable long-term with corporate backing.
SRI Support: Every file has integrity hashes. Copy from website or API. Protect against CDN compromise or MITM attacks.
Version Availability: Multiple versions preserved. Test upgrades safely. Rollback by changing URL. Old versions remain available indefinitely.
Community Maintained: Open-source repository on GitHub. Submit missing libraries. Report issues. Transparent maintenance process.
Emerging Websites Using cdnjs
| Website | IAB Category | Subcategory | OpenRank |
|---|---|---|---|
| aboutalvinmalnik.com | Events and Attractions | Business | 0 |
| billiondollardapp.com | Technology & Computing | Computing | 0 |
| denijewelry.com | Hobbies & Interests | Arts and Crafts | 0 |
| kingdomempowermentfellowship.com | Business and Finance | Business | 0 |
| nielsgott.com | Family and Relationships | Arts and Crafts | 0 |
Technologies Less Frequently Used with cdnjs
| Technology | Co-usage Rate | Website |
|---|---|---|
| 1C-Bitrix | 0% | http://www.1c-bitrix.ru |
| 4-Tell | 0% | https://4-tell.com |
| A-Frame | 0% | https://aframe.io |
| Acquia Campaign Factory | 0% | https://www.acquia.com/products/marketing-cloud/campaign-factory |
| Acquia Content Hub | 0% | https://www.acquia.com/products/drupal-cloud/content-hub |
