mirror of
https://github.com/wahyd4/cdnjs.git
synced 2026-08-21 18:56:05 +10:00
96e45e056a8fb9a4f9c4a301fa5741981e0d4327
"LazyLoad is a tiny (only 966 bytes minified and gzipped), dependency-free JavaScript utility that makes it super easy to load external JavaScript and CSS files on demand."
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.
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.
Pull requests steps
- Fork this repository
- Add your library (following the conventions of this repository)
- 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.jsonfor details - it's very simple) - Run
npm testto check everything is ok
- Send us a pull request.
- Make sure you include in the pull description:
- Where you downloaded the script
- If it isn't clear, how you found the version of the script
- e.g. https://github.com/cdnjs/cdnjs/pull/541
- If the library doesn't already provide a minified version, our preferred minifier is UglifyJS
Running the validator
- Install all the needed dependencies locally (you will need
npmandnode):npm install - Run the test suite:
npm test
Languages
JavaScript
94.7%
CSS
5.3%
