How do I upload to cdnjs? I have no clue and no experience with git.
I have a file that I want to upload to cdnjs. Do I have to download something. Can someone walk me through what I have to do?
In a nutshell, CDNJS is a free distributed JS library delivery service that you can use to host your JS dependencies/libraries outside of your server. Using its robust cloud network delivery and storage service, CDNJS will deliver all JS libraries you use on your websites or web applications to your users.
cdnjs.cloudflare.com is an ultra-fast, reliable, globally available content delivery network for open-source libraries. Cloudflare works with the maintainers of the cdnjs project and distributes the latest versions as they are released.
You can't just "upload" a single file to cdnjs.
Read CDNJS contributing document, in particular, for library even to be considered:
- [...] please make sure it's not a personal project, we have a basic requirement for the popularity, like 100 stars on GitHub or 500 downloads/month on npm registry.
- The new library must have at least one officially public accessable repository and open source license.
When you have that covered, you can create a pull request for your library to be included in cdnjs's master GitHub repo.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With