# cdnjs/cdnjs

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/cdnjs-cdnjs).**

10,707 stars · 4,485 forks · MIT

## Links

- GitHub: https://github.com/cdnjs/cdnjs
- Homepage: https://cdnjs.com
- awesome-repositories: https://awesome-repositories.com/repository/cdnjs-cdnjs.md

## Topics

`cdn` `cdnjs` `css` `fast` `font` `foss` `framework` `front-end` `http2` `javascript` `js` `library` `opensource` `spdy` `speed` `web` `webdev`

## Description

cdnjs is a free, community-maintained content delivery network that hosts thousands of open-source frontend libraries. It delivers popular JavaScript and CSS assets from a global CDN to speed up website performance and reduce server load, with each library version stored as an immutable snapshot under a predictable directory structure.

The platform provides a RESTful JSON API for programmatic access to library metadata, version details, and search functionality. This API returns structured data with HTTP cache headers, including immutable version details cached for nearly a year and library metadata refreshed every six hours. A unified error handling system returns structured JSON objects with appropriate status codes.

Library submissions are managed through a Git repository with an automated pipeline that validates, minifies, and deploys assets via pull requests. Assets are stored directly on disk without a database, and distributed across multiple CDN providers for global availability and redundancy. The platform also provides access to basic CDN usage statistics and validates permitted file extensions for upload and delivery.

## Tags

### Web Development

- [Library CDN Loaders](https://awesome-repositories.com/f/web-development/cdn-asset-delivery/library-cdn-loaders.md) — Delivers popular JavaScript and CSS libraries from a global CDN to speed up website performance. ([source](https://cdnjs.com/))
- [Library Metadata Retrievers](https://awesome-repositories.com/f/web-development/data-fetching-libraries/library-metadata-retrievers.md) — Provides an API endpoint to fetch metadata and latest version assets for any library. ([source](https://cdnjs.com/api))
- [CDN Delivery Services](https://awesome-repositories.com/f/web-development/frontend-development-resources/cdn-delivery-services.md) — Provides a free, community-maintained CDN for frontend libraries used by developers in web projects.
- [Library Metadata APIs](https://awesome-repositories.com/f/web-development/json-apis/library-metadata-apis.md) — Serves library metadata and version details via a RESTful JSON API with cache headers.
- [Library Search and Discovery](https://awesome-repositories.com/f/web-development/library-search-and-discovery.md) — Provides a search API to find and browse thousands of available frontend libraries by name.
- [Build Automation Pipelines](https://awesome-repositories.com/f/web-development/front-end-development-workflows/build-automation-pipelines.md) — Processes library submissions through an automated pipeline that validates, minifies, and deploys assets.

### Business & Productivity Software

- [Open Source Frontend Libraries](https://awesome-repositories.com/f/business-productivity-software/document-digitization-tools/document-serving/library-hosting/open-source-frontend-libraries.md) — Hosts and serves static assets for thousands of community-maintained open-source frontend libraries.

### Content Management & Publishing

- [Library Metadata Retrievers](https://awesome-repositories.com/f/content-management-publishing/media-management/media-servers/library-organization/metadata-fetching-organizers/library-metadata-retrievers.md) — Provides an API endpoint to fetch metadata and latest version assets for any library. ([source](https://cdnjs.com/api))

### Data & Databases

- [Versioned Library Hierarchies](https://awesome-repositories.com/f/data-databases/flat-file-storage/asset-directory-hierarchies/versioned-library-hierarchies.md) — Organizes all hosted libraries by name and version in a predictable directory hierarchy for direct URL access.
- [Library Listing Endpoints](https://awesome-repositories.com/f/data-databases/search-indexing-technologies/search-indexing/search-information-retrieval/query-interfaces-dsls/multi-term-search-processors/all-terms-required-searches/library-listing-endpoints.md) — Provides an API endpoint listing all libraries with optional name-based search filtering. ([source](https://cdnjs.com/api))
- [Flat-File Storage](https://awesome-repositories.com/f/data-databases/flat-file-storage.md) — Stores library files directly on disk without a database for simplified replication and serving.
- [API Cache Header Configurations](https://awesome-repositories.com/f/data-databases/performance-caching-systems/page-caching-controls/http-cache-headers/api-cache-header-configurations.md) — Serves library metadata via a RESTful JSON API using HTTP cache headers for performance.

### Development Tools & Productivity

- [Name-Based Search Endpoints](https://awesome-repositories.com/f/development-tools-productivity/library-search-tools/name-based-search-endpoints.md) — Provides an API endpoint to search libraries by name for matching entries. ([source](https://cdnjs.com/api))
- [Library Metadata Endpoints](https://awesome-repositories.com/f/development-tools-productivity/rest-apis/metadata-rest-endpoints/library-metadata-endpoints.md) — Serves library metadata and version details via a RESTful JSON API with HTTP cache headers for programmatic access.

### DevOps & Infrastructure

- [Asset Hosting Services](https://awesome-repositories.com/f/devops-infrastructure/cloud-infrastructure/storage-data-persistence/asset-hosting-services.md) — Hosts and serves static assets for thousands of open-source JavaScript and CSS libraries with versioned URLs.
- [Library Metadata Retrievers](https://awesome-repositories.com/f/devops-infrastructure/configuration-management/file-based-configuration/project-metadata-specifications/library-metadata-indexing/library-metadata-retrievers.md) — Provides an API endpoint to fetch metadata and latest version assets for any library. ([source](https://cdnjs.com/api))
- [Immutable Version Retrievals](https://awesome-repositories.com/f/devops-infrastructure/dependency-resolution/library-version-resolution/immutable-version-retrievals.md) — Serves immutable snapshots of each library version with URLs cached for nearly a year.
- [Multi-Provider Distributions](https://awesome-repositories.com/f/devops-infrastructure/deployment-management/deployment-strategies/cdn-distribution-methods/cdn-distribution-methods/multi-provider-distributions.md) — Distributes assets across multiple CDN providers for global availability and redundancy.
- [Git-Triggered Deployment Pipelines](https://awesome-repositories.com/f/devops-infrastructure/git-triggered-deployment-pipelines.md) — Validates, minifies, and deploys library submissions through an automated pipeline triggered by Git pull requests.
- [Pull-Request-Based Asset Managers](https://awesome-repositories.com/f/devops-infrastructure/infrastructure/version-control-systems/git-based-repositories/pull-request-based-asset-managers.md) — Manages library versions and updates through a Git repository with pull-request-based contributions.

### Software Engineering & Architecture

- [Version-Sorted Directories](https://awesome-repositories.com/f/software-engineering-architecture/directory-based-version-resolution/version-sorted-directories.md) — Structures library directories by semantic version to enable direct URL access to specific releases.
- [Immutable Version Retrievers](https://awesome-repositories.com/f/software-engineering-architecture/specification-versioning/version-retrieval-utilities/nvrtc-version-retrievals/library-version-retrievals/immutable-version-retrievers.md) — Provides an API endpoint returning immutable version details cached for nearly a year. ([source](https://cdnjs.com/api))
- [Long-Term Version Caches](https://awesome-repositories.com/f/software-engineering-architecture/configuration-versioning/deployment-versioners/immutable-version-snapshots/long-term-version-caches.md) — Caches library version details for nearly a year by treating each version as immutable.

### User Interface & Experience

- [UI Asset Serving](https://awesome-repositories.com/f/user-interface-experience/ui-asset-serving.md) — Serves web library files from a global content delivery network to accelerate page loads for websites. ([source](https://cdnjs.com/))
