- Introduction
- Support Us
- Contributing
- latest version URL support
- API usage
- Contributors
- Sponsors
- License
This is the "human" repository for cdnjs, where all JSON package files that control the libraries hosted on cdnjs are stored. For all assets hosted on cdnjs, please see the robot-only cdnjs/cdnjs
repository.
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, powered by Cloudflare, 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 the #1 free and open source CDN built to make life easier for developers and is rated No. 2 (ref) overall 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.)
For the full set of library assets that are hosted on cdnjs, please take a look at the robot-only cdnjs/cdnjs
repository.
For our website, please refer to the cdnjs/new-website
repository.
For the cdnjs API, please refer to the cdnjs/api-server
repository.
For the full cdnjs branding and brand-related assets/guidelines, please see the cdnjs/brand
repository.
For our monthly CDN stats and usage reports, check out the cdnjs/cf-stats
repository.
You can find all our repositories at github.com/cdnjs!
If you love ๐ what we are doing and would like to help us make the project better, please consider the following options:
Help us with the core of the service by adding and updating libraries based on requests in issues here, or by writing better documentation on how the cdnjs project works.
GitHub now has their very own system for supporting developers on their platform, GitHub Sponsors. Please consider donating to any of the people involved in keeping cdnjs operational to help support what we do:
We also have Open Collective and Patreon pages set up so that you can donate there too if these are platforms you prefer. We really appreciate your help. ๐
To contribute to cdnjs, please refer to our CONTRIBUTING.md document. This contains most of the information you might need to get involved either with adding a libarry to cdnjs or helping the project grow in other ways! If you need further information, please create an issue.
Working on your first Pull Request? Learn how from this free series: An Introduction to Open Source
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 us!
Please note that cdnjs does not provide a latest
version URL for a library, due to the following considerations:
- 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.
- 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. - 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.
See the API page on our website for more information on working with the cdnjs.com API.
Please see the GitHub provided contributors page: github.com/cdnjs/packages/graphs/contributors.
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.