• Stars
    star
    113
  • Rank 310,115 (Top 7 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created almost 11 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

DEPRECATED - API for public CDNs

DEPRECATED

The v1 API has been deprecated. All endpoints will continue to work, but will use a dataset created on June 8, 2017 and won't receive any future updates. See https://github.com/jsdelivr/data.jsdelivr.com for a new API.

Public CDNs API

Root: /v1/<cdn>/libraries

Supports jsdelivr, google, cdnjs, bootstrap, and jquery.

Only GET requests are allowed. No limits are set.

Get all hosted libraries in JSON format

http://api.jsdelivr.com/v1/jsdelivr/libraries
http://api.jsdelivr.com/v1/google/libraries
http://api.jsdelivr.com/v1/cdnjs/libraries
http://api.jsdelivr.com/v1/bootstrap/libraries
http://api.jsdelivr.com/v1/jquery/libraries

Get full information for a single library based on name parameter.

http://api.jsdelivr.com/v1/jsdelivr/libraries?name=jquery
http://api.jsdelivr.com/v1/jsdelivr/libraries/jquery - alias

Get full information for any library starting with jq that has lastversion ending with 0.1. minimatch syntax is supported.

http://api.jsdelivr.com/v1/jsdelivr/libraries?name=jq*&lastversion=*.0.1

You can use any of the following parameters to search for libraries. A search will be performed for projects matching your input. You can use multiple parameters at the same time. If multiple projects match they all will be outputed.

  • name - name of library. Example: jquery
  • mainfile - mainfile parameter in info.ini. Example: jquery.min.js
  • lastversion- lastversion of the project. Example: 2.0.3 (will match multiple projects)
  • versions - all hosted versions for selected project. (read only)
  • description - description of the project
  • homepage- webpage of project. Example: http://jquery.com/
  • github- github page of project. Example: https://github.com/jquery/jquery
  • author - the author of project. Example: jQuery Foundation
  • assets - files hosted per versions. (read only)

You can combine the above parameters with the parameter fields. This way you can control the output. For example to get the mainfile for jQuery you would run the following request.

http://api.jsdelivr.com/v1/jsdelivr/libraries?name=jquery&fields=mainfile

It's possible to set multiple fields using a comma for separation.

http://api.jsdelivr.com/v1/jsdelivr/libraries?name=jquery&fields=mainfile,name

Get hosted files per version for jQuery

http://api.jsdelivr.com/v1/jsdelivr/libraries?name=jquery&fields=assets

Get hosted files for a selected version

http://api.jsdelivr.com/v1/jsdelivr/libraries/jquery/2.0.3

Get libraries matching to any part of query (defaults to and)

http://api.jsdelivr.com/v1/jsdelivr/libraries?name=jquery&op=or

More Repositories

1

jsdelivr

A free, fast, and reliable Open Source CDN for npm, GitHub, Javascript, and ESM
JavaScript
5,571
star
2

bootstrapcdn

Free Bootstrap CDN hosting
JavaScript
1,349
star
3

globalping

A global network of probes to run network tests like ping, traceroute and DNS resolve
TypeScript
241
star
4

FontFamous

Font Famous is the free vector media logo font.
Less
223
star
5

data.jsdelivr.com

The public jsDelivr API. Get npm packages, files, versions, entry points, as well as their CDN URLs and download stats.
JavaScript
205
star
6

globalping-cli

A simple CLI tool to run networking commands remotely from hundreds of globally distributed servers
Go
143
star
7

www.jsdelivr.com

The official jsDelivr website
HTML
139
star
8

globalping-probe

The globalping probe code that runs on your hardware and connects to the global community network of probes
TypeScript
77
star
9

dns-openmix

DEPRECATED - jsDelivr's load balancing algorithm
JavaScript
50
star
10

unplugin-jsdelivr

Use jsDelivr in Vite, Rollup, Webpack and esbuild!
TypeScript
36
star
11

bot

DEPRECATED The jerk of a bot that checks PRs and responds in comments
Python
22
star
12

plugin-intellij

jsDelivr plugin for JetBrains IntelliJ based editors
Java
22
star
13

plugin-vs-code

Quickly insert any npm package from jsDelivr CDN
JavaScript
20
star
14

libgrabber

DEPRECATED Keeps projects hosted in jsDelivr updated
JavaScript
20
star
15

extension-chrome

JavaScript
16
star
16

globalping-hwprobe

OS image for Globalping hardware probes. Become a GitHub Sponsor to get yours!
Shell
15
star
17

foundationcdn

DEPRECATED The code for the website at
CSS
15
star
18

plugin-atom

jsDelivr plugin for Atom
JavaScript
8
star
19

ghost-jsdelivr-theme

The Ghost theme for jsDelivr's blog
SCSS
3
star
20

jsdelivr-media

jsDelivr logo files
3
star
21

api-sync

DEPRECATED Sync portion for jsDelivr API
JavaScript
3
star
22

dns-openmix-diagnostics

DEPRECATED
JavaScript
1
star
23

cleaner

DEPRECATED Remove content of files in a repo
Python
1
star
24

.github

1
star
25

all-the-package-types

JavaScript
1
star
26

globalping-dash

Globalping's official dashboard and probe control panel
JavaScript
1
star
27

dash-directus

The jsDelivr dashboard backend
TypeScript
1
star