Skip to content
The #1 free and open source CDN built to make life easier for developers.
Branch: master
Clone or download
Pull request Compare This branch is 120 commits behind cdnjs:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

CDNJS - the best front-end resource CDN for free!

PRs Welcome License Drone CI Dependency Status devDependency Status Community

Open Collective Bountysource Patreon Liberapay tip4commit

Throughput Graph

Table of Contents


This is the main repository to maintain the libraries' assets on CDNJS. For our website and API, please refer to the new-website repository. You can find all repositories at CDNJS on GitHub!

CDNJS is a free and open source project to organize and provide popular front-end web development resources to developers via a fast CDN infrastructure without usage limitations and fees. We want to help individual library/framework developers distribute their projects, and web developers supercharge their websites! With our great free CDN service, developers can focus on their projects and website development. Developers no longer have to spend time worrying about how to set-up a CDN for projects or website assets. We hope to make web development easier, as well as your websites and the WWW faster and safer.

Currently, CDNJS is rated No. 2 (ref) in web front-end CDN services and has great performance. We fully support https, SPDY, http/2.0, and SRI. These will boost and secure your website with zero configuration. (Note: You'll still need to take care of server-side and application layer security issues. We make it better, but we can't help you too much if you implement a bad practice.)

Support Us!

If you love 💖 what we are doing and would like to help us make the project better, please consider the following options:

  1. Become a contributor. Help us write documentation, organize issues, add libraries, design our website, propose features, review issues and pull requests, etc.

  2. Donate and support us on Open Collective, Bountysource, Patreon, Liberapay or Tip4Commit.

We really appreciate your help. 😊

latest version URL support

Note that we don't support the feature to use latest in the URL because of the reasons below:

  1. Your website might break if there are any compatibility issues or bugs coming from upstream. It's not a good idea to use it in the production environment. Both jQuery CDN and Google CDN don't provide this feature.
  2. The latest URL feature also has cache and performance issues. This conflicts with what we are trying to do - make your website load as fast as possible.
  3. Security issues have become more and more important nowadays. For example, Great Cannon attacked GitHub via malicious JavaScript (ref1, ref2) during April 2015. One of the techniques to prevent this kind of attack is Subresource Integrity (SRI). We have been supporting this feature for a long time. The latest URL feature, however, totally conflicts with the SRI technique.


To contribute to CDNJS, please refer to It should contain most of the things you'll need to get your contribution started!

Working on your first Pull Request? Learn how from this free series: How to Contribute to an Open Source Project on GitHub

Want to chat with other users of the CDNJS service and some of the team before making your contribution? You can join our community Discourse forum where you can post questions and interact with everyone.

API usage

See the API page on our website or read: documents/

Extensions, Plugins, Resources

Extensions, Plugins, Resources


See each repos' GitHub contributors graph, e.g.

or gitstats, git_stats


CDNJS wouldn't be the success that it is today without our sponsors' kind support. These companies currently support CDNJS:

If you are interested in becoming a sponsor, please feel free to contact us!


Each library is released under its own license. This CDNJS repository is published under MIT license.

You can’t perform that action at this time.