Skip to content
This repository

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

tree: ca8ebb6620

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 ajax
Octocat-spinner-32 build
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .npmignore adding validation tests June 11, 2012
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 README.md
Octocat-spinner-32 package.json
README.md

Build Status

cdnJS Script Repository

The repository mirroring all scripts on cdnjs.cloudflare.com

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.

Pull requests steps

  1. Fork this repository
  2. Add your library (following the conventions of this repository)
    • 1 library per pull request
    • include a package.json in the npm format (see test/schemata/npm-package.json for details - it's very simple)
  3. Run your package.json through a JSON Validator
    • Bonus points: set up a Travis CI hook (we already made the .travis.yml) for your fork!
  4. 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. https://github.com/cdnjs/cdnjs/pull/229
    • If you set up Travis CI, include your badge for super-readability!

Running the validator

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

Clicky

Something went wrong with that request. Please try again.