Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

cdnjs

cdnjs.com

  • Free plan
  • Web
  • API
7.2 Club score Visit cdnjs.com

What cdnjs is

cdnjs serves JavaScript, CSS, and font resources for web projects. Developers can add a library with a script or link tag without a build step or npm install. The browse catalog lists 4,616 libraries, which are added through community curation; cdnjs does not provide on-demand access to arbitrary libraries. Once a library is approved, 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, which the site lists as having 330+ edge locations. Supported protocols and compression include HTTP/3, HTTP/2, QUIC, Brotli, and GZIP. cdnjs is HSTS preloaded and provides Subresource Integrity hashes for script and link tags. Its API is available at https://api.cdnjs.com and requires no authentication. The service is free to use. The site reports 12.5% of websites and 250 billion requests per month. Users can contribute through GitHub or support maintenance through GitHub Sponsors, Open Collective, or Patreon.

Who it suits

cdnjs suits web developers who want to include community-curated JavaScript, CSS, or font libraries through script or link tags. Its API may also suit projects that need library information without authentication.

Good to know, and what to watch

  • Includes 4,616 community-curated libraries.
  • Assets can be added without a build step or npm install.
  • Provides Subresource Integrity hashes.
  • API requires no authentication.
  • Free to use.
  • No on-demand pull-through access to arbitrary libraries.
  • Libraries must be community-added and approved.

cdnjs

Free

Free plan

The verdict

cdnjs offers a free way to use its curated catalog of web assets through simple script or link tags. Its catalog is community-curated rather than an on-demand source for arbitrary libraries.

What the maker publishes

API
The API base URL is https://api.cdnjs.com and the site says no authentication is required. source
Curation limit
cdnjs serves libraries added by the community and does not provide on-demand pull-through access to arbitrary libraries. source
Founded
2011 source
Free plan
Yes source
Global delivery
Files are served from Cloudflare's global network, which the site lists as having 330+ edge locations. source
How to include assets
Libraries can be included with a script or link tag, without a build step or npm install. source
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. source
Library catalog
The browse page lists 4,616 available libraries. source
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. source
Protocols and compression
The service supports HTTP/3, HTTP/2, QUIC, Brotli, and GZIP compression. source
Scale
The site reports 12.5% of websites and 250 billion requests per month. source
Security
cdnjs is HSTS preloaded and provides Subresource Integrity hashes for script and link tags. source
Support
Users can contribute through GitHub and support maintenance through GitHub Sponsors, Open Collective, or Patreon. source
What it does
cdnjs serves JavaScript, CSS, and font resources for use in web projects. source

Checked against the maker's pages on 9 Oct 2026.