EVERYTHING XIAOMI
Get listed
cdnjs logo

cdnjs

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

Place
#24 of 33
Score
6.1
cdnjs's website

What cdnjs is

cdnjs serves JavaScript, CSS, and font resources for web projects. Developers can add available libraries with a script or link tag, without a build step or npm install. Its catalog lists 4,616 libraries, which are added through community curation; the service does not provide on-demand access to arbitrary libraries. After a library is approved, automation checks npm or GitHub for updates and handles minification, compression, Subresource Integrity hash generation, and publishing. Files are delivered through Cloudflare’s global network, which cdnjs 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 SRI hashes for script and link tags. Its API at https://api.cdnjs.com requires no authentication. The service is free, with the listed cdnjs plan at no cost. 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.

Good

  • Free plan costs nothing.
  • Libraries can be included without a build step or npm install.
  • Provides SRI hashes for script and link tags.
  • Supports HTTP/3, HTTP/2, QUIC, Brotli, and GZIP.

Watch out

  • Only community-added libraries are served.
  • No on-demand access to arbitrary libraries.

Who it suits

cdnjs suits web developers who want to include catalogued JavaScript, CSS, or font libraries directly in projects. Its API may also suit users who need programmatic access without authentication.

Verdict

cdnjs offers a free, curated catalog of web assets with direct script and link inclusion. Check that the library you need is in its catalog, since arbitrary libraries cannot be pulled on demand.

Plans and prices

From cdnjs's own pricing page, checked 9 Oct 2026.

All about pricing
PlanPriceWhat it gives you
cdnjsFreeCurated libraries added by the community · Free to use

The facts

Each one read from cdnjs's own pages, with the date it was checked.

What it does

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

The company

Founded
2011checked 28 Sep 2026

Money

Free plan
Yeschecked 24 Sep 2026

Alternatives to cdnjs

All alternatives
  1. 1

    Azion Content Delivery

    Free planWebAPILinuxmacOS
    7.8From $25 a month
  2. 2

    Uploadcare

    Free planAndroidiOSWebAPI
    7.6From $66 a month
  3. 3Cloudflare CDN logo

    Cloudflare CDN

    Free planWebAPI
    7.4From $20 a month
  4. 4ImageKit logo

    ImageKit

    Free planAndroidiOSAPI
    7.4From $9 a month
  5. 5

    Cloudinary

    Free planWebAPIExtension
    7.2Free plan
  6. 6Gcore CDN logo

    Gcore CDN

    Free planWeb
    7.1€0.01 usage-based