- Home
- CDN Software
- cdnjs
cdnjs
What it is
cdnjs provides JavaScript, CSS, and font resources that developers can add to web projects with script or link tags, without a build step or npm install. Its catalog lists 4,616 libraries, added through community curation rather than on-demand pull-through access to arbitrary packages. After approval, automation checks npm or GitHub for new versions and handles minification, compression, Subresource Integrity hash generation, and publishing. Files are delivered through Cloudflare’s global network, listed as having 330+ edge locations. Supported protocols and compression include HTTP/3, HTTP/2, QUIC, Brotli, and GZIP. cdnjs is HSTS preloaded and supplies SRI hashes for script and link tags. The API is available at https://api.cdnjs.com with no authentication required. The service is free to use; its listed plan is free. The site reports 12.5% of websites and 250 billion requests per month. Contributions can be made through GitHub, GitHub Sponsors, Open Collective, or Patreon.
For and against
For
- Free to use
- 4,616 curated libraries
- No build step or npm install
- SRI hashes provided
- Unauthenticated API
Against
- No arbitrary-library pull-through access
- Libraries depend on community curation
- Catalog requires approved additions
The verdict
cdnjs offers a straightforward URL-based source for JavaScript, CSS, and font assets, with automated updates and multiple delivery protocols. Developers needing an uncatalogued library must look beyond its curated collection.
Who it suits
cdnjs suits web developers who want community-curated front-end libraries delivered by URL. It is useful when projects need script or link inclusion without local package installation.
Plans and prices
cdnjs
Curated libraries added by the community
Read 9 Oct 2026 · cdnjs.com
On the record
- API
- The API base URL is https://api.cdnjs.com and the site says no authentication is required.cdnjs.com · read 9 Oct 2026
- Curation limit
- cdnjs serves libraries added by the community and does not provide on-demand pull-through access to arbitrary libraries.cdnjs.com · read 9 Oct 2026
- Global delivery
- Files are served from Cloudflare's global network, which the site lists as having 330+ edge locations.cdnjs.com · read 9 Oct 2026
- How to include assets
- Libraries can be included with a script or link tag, without a build step or npm install.cdnjs.com · read 9 Oct 2026
- Integrations and sponsors
- The site credits Cloudflare for CDN infrastructure and project maintenance, Algolia for library search, DigitalOcean for infrastructure, and Statuspage, Sentry, and UptimeRobot for incident communication, error monitoring, and uptime monitoring.cdnjs.com · read 9 Oct 2026
- Library catalog
- The browse page lists 4,616 available libraries.cdnjs.com · read 9 Oct 2026
- Library updates
- After a library is approved and added, automation regularly checks npm or GitHub for new versions and handles minification, compression, SRI hash generation, and publishing.cdnjs.com · read 9 Oct 2026
- Protocols and compression
- The service supports HTTP/3, HTTP/2, QUIC, Brotli, and GZIP compression.cdnjs.com · read 9 Oct 2026
- Scale
- The site reports 12.5% of websites and 250 billion requests per month.cdnjs.com · read 9 Oct 2026
- Security
- cdnjs is HSTS preloaded and provides Subresource Integrity hashes for script and link tags.cdnjs.com · read 9 Oct 2026
- Support
- Users can contribute through GitHub and support maintenance through GitHub Sponsors, Open Collective, or Patreon.cdnjs.com · read 9 Oct 2026
- What it does
- cdnjs serves JavaScript, CSS, and font resources for use in web projects.cdnjs.com · read 9 Oct 2026