Skip to content
forked from cdnjs/cdnjs

Our goal is to operate this CDN in a peer reviewed fashion.

License

Notifications You must be signed in to change notification settings

dangerbell/cdnjs

 
 

Repository files navigation

Build Status

cdnJS Script Repository

The repository mirroring all scripts on cdnjs.cloudflare.com, created and maintained by Thomas Davis, Ryan Kirkman and Lachlan Collins

We will host any version of any library. Feel free to add a pull request for an older version of a library if your site still uses it.

Libraries must have notable popularity. 100 watchers on GitHub is a good example, but as long as reasonably popularity can be demonstrated the library will be added.

Extensions, Plugins, Resources

Extensions, Plugins, Resources

Conventions

  • Filenames should not include version number and be lowercase
  • Javascript & Css files should be minified, If the library doesn't already provide a minified version, our preferred minifier is UglifyJS
  • If updating an existing library, try to keep consistant with the existing structure

Pull requests steps

  1. Fork this repository
  • Install all the needed dependencies locally (you will need node): npm install
  1. Add your library (following the conventions of this repository)
  • 1 commit per pull request
  • 1 library per pull request
  • The pull request must be tagged in the original repository (some exceptions apply)
  • include a package.json in the npm format (see test/schemata/npm-package.json for details - it's very simple)
  • Run npm test to check everything is ok
  1. Send us a pull request.
  • Make sure you include in the pull description:
    1. Where you downloaded the script
    2. If it isn't clear, how you found the version of the script
  • e.g. cdnjs#541
  1. If the library doesn't already provide a minified version, our preferred minifier is UglifyJS

Running the validator

  1. Install all the needed dependencies locally (you will need node): npm install
  2. Run the test suite: npm test

About

Our goal is to operate this CDN in a peer reviewed fashion.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%