Skip to content
Please note that GitHub no longer supports Internet Explorer.

We recommend upgrading to the latest Microsoft Edge, Google Chrome, or Firefox.

Learn more
Free and Open Source Public Web CDN for web developer!
Branch: master
Clone or download
Latest commit e7846b8 Mar 21, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ajax/libs Add antd-mobile v2.2.10 Mar 21, 2019
build jscs auto fixes Mar 7, 2017
documents Improve markdown style Aug 1, 2018
spec jscs auto fixes Mar 7, 2017
test Improve js style Aug 1, 2018
tools Improve js style Aug 1, 2018
.drone.yml update Drone CI config Feb 28, 2017
.drone.yml.sig update Drone CI config Feb 28, 2017
.gitignore Update .gitignore for browser-logos Mar 8, 2019
.jscsrc Introduce jscs with airbnb cs Mar 7, 2017
CONTRIBUTING-WIP.md
CONTRIBUTING.md Improve markdown style Aug 1, 2018
LICENSE Add "The MIT License (MIT)" text on the top of LICENSE Feb 21, 2017
PULL_REQUEST_TEMPLATE.md
README.md [Docs] Add Community Discord to README.md (#13213) Feb 1, 2019
auto-update.js
package.json

README.md

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

PRs Welcome License Drone CI Dependency Status devDependency Status tip for next commit Bountysource Community Discord

Throughput Graph

Table of Contents

Introduction

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.

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 to us on Gratipay, Bountysource, or Tip4Commit.

We really appreciate your help. 😊

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.)

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.

Contributing

To contribute to CDNJS, please refer to CONTRIBUTING.md. 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 Discord where you can post questions and chat with everyone.

API usage

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

Extensions, Plugins, Resources

Extensions, Plugins, Resources

Contributors

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

or gitstats, git_stats

Sponsors

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!

License

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.