/cdnjs

Free and Open Source Public Web CDN for web developer!

MIT LicenseMIT

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

PRs Welcome Drone CI Dependency Status devDependency Status license tip for next commit Bountysource GetBadges Game

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

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.