FREEDOM251

Freedom251 › CDN Software

cdnjs

Free plan APIWeb

Visit cdnjs Alternatives Pricing

cdnjs's own site

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. Files are delivered through Cloudflare's global network, which cdnjs lists as having more than 330 edge locations. The service supports HTTP/3, HTTP/2, QUIC, Brotli, and GZIP compression. It is HSTS preloaded and provides Subresource Integrity hashes for script and link tags.

The catalog contains 4,616 libraries. Libraries are added by the community; once a library is approved and included, automation regularly checks npm or GitHub for new versions, then handles minification, compression, SRI hash generation, and publishing. The service does not provide on-demand pull-through access to arbitrary libraries. Its API is available at https://api.cdnjs.com and requires no authentication. The site credits Cloudflare for CDN infrastructure and maintenance, Algolia for library search, and DigitalOcean for infrastructure, along with Statuspage, Sentry, and UptimeRobot for incident communication, error monitoring, and uptime monitoring. Users can contribute through GitHub and support maintenance through GitHub Sponsors, Open Collective, or Patreon. cdnjs is free to use.

Who it suits

cdnjs suits web developers who want to include community-curated JavaScript, CSS, or font libraries through script and link tags. It is also relevant to developers who want a no-authentication API or library delivery with SRI hashes and common web protocols and compression formats.

What it does well

  • Free to use.
  • Libraries can be included without a build step or npm install.
  • Files are served from a network with 330+ edge locations.
  • Supports HTTP/3, HTTP/2, QUIC, Brotli, and GZIP.
  • Provides Subresource Integrity hashes for script and link tags.
  • The API requires no authentication.

What to know first

  • Only libraries added by the community are served.
  • There is no on-demand pull-through access to arbitrary libraries.

Limits

cdnjs serves libraries added by the community and does not provide on-demand pull-through access to arbitrary libraries.

Plans

PlanBilled and limitsPrice
cdnjsFree to use · Curated libraries added by the communityFree

As cdnjs.com lists them, read 9 Oct 2026. The maker's own page has the final word.

Getting started

  1. Open the cdnjs website and browse its library catalog.
  2. Choose an available library for the web project.
  3. Include its resource with a script or link tag.
  4. Use the API at https://api.cdnjs.com if needed; no authentication is required.
  5. Contribute through GitHub or support maintenance through GitHub Sponsors, Open Collective, or Patreon.

Verdict

Choose cdnjs if a library you need is in its community catalog and you want to include it with a script or link tag. Its free access, SRI hashes, and unauthenticated API are useful for web projects. Look elsewhere if your project needs arbitrary libraries that are not part of the curated catalog.

Questions

Does cdnjs cost anything?

No. The cdnjs plan is free to use.

What kinds of resources does cdnjs serve?

It serves JavaScript, CSS, and font resources for web projects.

How do I add a library to a project?

Libraries can be included with a script or link tag, without a build step or npm install.

Does the cdnjs API require authentication?

No. The API base URL is https://api.cdnjs.com, and no authentication is required.

Can cdnjs provide any library on demand?

No. It serves community-added libraries and does not provide on-demand pull-through access to arbitrary libraries.

How are library updates handled?

After approval and addition, automation regularly checks npm or GitHub for new versions and handles minification, compression, SRI hash generation, and publishing.

Facts from cdnjs's own pages

API
The API base URL is https://api.cdnjs.com and the site says no authentication is required. · cdnjs.com, 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, 9 Oct 2026
Founded
2011 · cdnjs.com, 28 Sept 2026
Free plan
Yes · cdnjs.com, 24 Sept 2026
Global delivery
Files are served from Cloudflare's global network, which the site lists as having 330+ edge locations. · cdnjs.com, 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, 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, 9 Oct 2026
Library catalog
The browse page lists 4,616 available libraries. · cdnjs.com, 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, 9 Oct 2026
Protocols and compression
The service supports HTTP/3, HTTP/2, QUIC, Brotli, and GZIP compression. · cdnjs.com, 9 Oct 2026
Scale
The site reports 12.5% of websites and 250 billion requests per month. · cdnjs.com, 9 Oct 2026
Security
cdnjs is HSTS preloaded and provides Subresource Integrity hashes for script and link tags. · cdnjs.com, 9 Oct 2026
Support
Users can contribute through GitHub and support maintenance through GitHub Sponsors, Open Collective, or Patreon. · cdnjs.com, 9 Oct 2026
What it does
cdnjs serves JavaScript, CSS, and font resources for use in web projects. · cdnjs.com, 9 Oct 2026

Where cdnjs stands on Freedom251

Look at these too