Developer(s) | Ryan Kirkman, Thomas Davis, Matt Cowley, Sven Sauleau, Tyler Caslin |
---|---|
Initial release | February 25, 2011 [1] |
Repository | github.com/cdnjs/cdnjs |
Written in | JavaScript, Go |
Operating system | Cross-platform |
Type | FOSS CDN |
License | MIT License [2] |
Website | cdnjs.com |
cdnjs is a free and open-source software (FOSS) content delivery network (CDN) hosted by Cloudflare. [3] [4] As of May 2021, it serves 4,013 JavaScript and CSS libraries, which are stored publicly on GitHub. [5] [6] [7] It is included in millions of websites, or 12.4% of the websites on the Internet, making it the second most popular CDN for JavaScript. [8] [9] [10]
In January 2011, Ryan Kirkman and Thomas Davis created the service, [11] launching it on GitHub on February 25, 2011. [12] [13] [14] It initially served content through Amazon CloudFront. [12] [15] On June 15, 2011, [16] cdnjs partnered with Cloudflare, who provided the CDN and subdomain cdnjs.cloudflare.com for the project. [12] [13] [14] [17]
On November 1, 2019, the founders turned over control of cdnjs to Cloudflare, citing "technical and commercial reasons." [18] According to the community maintainers, the project was difficult to manage because of limited access to the GitHub repository, inactive founders, and a small budget. [18] [19] [20] It is estimated the annual budget at the time was approximately $50/yr. [18] [21]
The service is maintained by the community and Cloudflare. [4] As of May 2021, there have been 1,443 contributors to the main GitHub repository, and 88 contributors to the newer package configuration GitHub repository. [6] [22]
It is also sponsored by DigitalOcean, Algolia, Heroku, Atlassian, Sentry, and Lean20. [23] [24] [25]
There is a public JSON API for developers to query cdnjs library metadata. [26] [27]
Resources on cdnjs can be loaded using a number of connection protocols – HTTP/2, HTTP, HTTPS or SPDY. [5] [25] [28]
The cdnjs.cloudflare.com domain is part of the HSTS preload list. [29]
There exist websites that host clones of cdnjs libraries on their own servers:
Greasemonkey is a userscript manager made available as a Mozilla Firefox extension. It enables users to install scripts that make on-the-fly changes to web page content after or before the page is loaded in the browser.
MDN Web Docs, previously Mozilla Developer Network and formerly Mozilla Developer Center, is a documentation repository and learning resource for web developers. It was started by Mozilla in 2005 as a unified place for documentation about open web standards, Mozilla's own projects, and developer guides.
Google Developers is Google's site for software development tools and platforms, application programming interfaces (APIs), and technical resources. The site contains documentation on using Google developer tools and APIs—including discussion groups and blogs for developers using Google's developer products.
The Yahoo! User Interface Library (YUI) is a discontinued open-source JavaScript library for building richly interactive web applications using techniques such as Ajax, DHTML, and DOM scripting. YUI includes several core CSS resources. It is available under a BSD License. Development on YUI began in 2005 and Yahoo! properties such as My Yahoo! and the Yahoo! front page began using YUI in the summer of that year. YUI was released for public use in February 2006. It was actively developed by a core team of Yahoo! engineers.
jQuery is a JavaScript library designed to simplify HTML DOM tree traversal and manipulation, as well as event handling, CSS animation, and Ajax. It is free, open-source software using the permissive MIT License. As of May 2019, jQuery is used by 73% of the 10 million most popular websites. Web analysis indicates that it is the most widely deployed JavaScript library by a large margin, having at least 3 to 4 times more usage than any other JavaScript library.
OpenSocial is a public specification that defines a component hosting environment (container) and a set of common application programming interfaces (APIs) for web applications. Initially, it was designed for social network applications and developed by Google along with MySpace and a number of other social networks. Recently, it has been adopted as a general use runtime environment for allowing untrusted and partially trusted components from third parties to run in an existing web application. The OpenSocial Foundation moved to integrate or support numerous other Open Web technologies. This includes OAuth and OAuth 2.0, Activity Streams, and Portable Contacts, among others.
This is a comparison of web frameworks for front-end web development that are heavily reliant on JavaScript code for their behavior.
GitHub, Inc. is a provider of Internet hosting for software development and version control using Git. It offers the distributed version control and source code management (SCM) functionality of Git, plus its own features. It provides access control and several collaboration features such as bug tracking, feature requests, task management, continuous integration, and wikis for every project. Headquartered in California, it has been a subsidiary of Microsoft since 2018.
Node.js is an open-source, cross-platform, back-end JavaScript runtime environment that runs on the V8 engine and executes JavaScript code outside a web browser, which was designed to build scalable network applications. Node.js lets developers use JavaScript to write command line tools and for server-side scripting—running scripts server-side to produce dynamic web page content before the page is sent to the user's web browser. Consequently, Node.js represents a "JavaScript everywhere" paradigm, unifying web-application development around a single programming language, rather than different languages for server-side and client-side scripts.
There are different JavaScript charting libraries available. Below is a comparison of which features are available in each.
BootstrapCDN is a public content delivery network. It enables users to load CSS, JavaScript and images remotely from its servers. Used by more than 7.9 million websites worldwide, BootstrapCDN serves more than 70 billion requests a month. In March 2021 the ownership was transferred to the jsDelivr project.
Brotli is a lossless data compression algorithm developed by Google. It uses a combination of the general-purpose LZ77 lossless compression algorithm, Huffman coding and 2nd order context modelling.
ContentTools is an open-source WYSIWYG editor for HTML content written in JavaScript/CoffeeScript by Anthony Blackshaw of Getme Limited.
Electron is a free and open-source software framework developed and maintained by GitHub. The framework is designed to create desktop applications using web technologies which are rendered using a flavor of the Chromium browser engine, and a backend using the Node.js runtime environment. Additionally, it also uses various APIs to allow things such as native integration with Node services, and an Inter-process communication module.
JSDelivr is a free public CDN for open-source projects.
Hugo is a static site generator written in Go. Originally created by Steve Francia in 2013, Hugo has seen a great increase in both features and performance thanks to current lead developer Bjørn Erik Pedersen and other contributors. Hugo is an open source project licensed under the Apache License 2.0.
Deno is a runtime for JavaScript, TypeScript, and WebAssembly that is based on the V8 JavaScript engine and the Rust programming language. Deno was co-created by Ryan Dahl, who also created Node.js.
Decentraleyes is a free and open-source browser extension used for local content delivery network (CDN) emulation. Its primary task is to block connections to major CDNs such as Cloudflare and Google, and serve popular web libraries locally on the users machine. Decentraleyes is available for the Microsoft Edge, Mozilla Firefox + Firefox ESR, Google Chrome, Pale Moon and Opera web browsers.