Skip to content

imclab/jsdelivr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Free CDN jsDelivr

www.jsdelivr.com

This repo was created to allow the community to make modifications and improve the contents of jsDelivr's CDN.

Feel free to open issues and pull requests if you think something should be added/removed/modified.

All changes made to this repo are synced to the CDN. It can take more than 48 hours for the changes to appear on the website.

How to submit or update projects:

  1. Fork the jsDelivr repository.
  2. Locally make the changes you want to be synced with the CDN
  3. Send the Pull request with a description of the changes you made following the same structure as the rest of the projects in the repo.
  4. Wait for the approval.
  5. Thats it

File Structure

Under files/ a directory for each project is created. Please follow the instructions bellow.

  1. Lowercase
  2. No special characters or spaces. Allowed: . - _
  3. Only the name of the project
  4. If the project is a plugin of a library append the name of the library. ex: jquery.blurjs, bootstrap.select

In some cases a few exceptions can be made.

A project's directory should contain the following:

  1. info.ini containing all needed information. Example
  2. Directories named after the version of each project.
  • The version directories can contain in their names numbers, letters and -,_ symbols.
  1. Do not create a latest version directory unless you are the author and plan to maintain it as new versions come out.

A version directory should contain the following:

  1. Static files needed for the project to work.
  2. A .zip file named after the project containing all of the current version directory files.
  3. If there is no minified version of the main js/css file please create your own. Tool (Minify only, no symbol obfuscation. )
  4. Do not upload useless files like demos, examples, licenses, readmes and any other files not being used in the production.

URL Structure

//cdn.jsdelivr.com/{projectName}/{version}/{file}

//cdn.jsdelivr.com/{projectName}/{version}/{projectName}.zip

API

JSON of hosted files and projects - http://api.jsdelivr.com/packages.php

XML of all hosted files including md5 hashes - http://www.jsdelivr.com/hash.xml

Bitdeli Badge

About

The library of the free CDN jsdelivr.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published