Introducing the jQuery Plugins Registry

Tweet

The popularity of jQuery continues unabated. At the last count, the JavaScript library has been adopted by 55% of all websites. More impressively, it’s loaded on more than 90% of sites which use a library.

However, not all is perfect in the jQuery world. Despite having a great plugin system, how do you locate a plugin for your needs? The original repository at jquery.com was clunky at best; search results were poor, code was out of date and documentation was sparse. Googling was a better option but finding suitable code was a hit-and-miss affair. Ultimately, it was often easier to develop your own jQuery plugin.

Fortunately, the jQuery team are aware of the issue and have launched a new jQuery Plugin Repository. Their aim is to reduce the fragmentation and distribution problems that can be obstacles for plugin developers and consumers.

How to Download jQuery Plugins

You can search, browse or click tags to locate plugins in the jQuery Plugin Repository. Each plugin page provides a brief description, compatibility information and links to the home page, documentation, demonstrations, issues and downloads.

How to Register New jQuery Plugins

If you’d like to share your amazing jQuery plugin, there are several steps required to publish code on the jQuery Plugin Repository:

  1. Choose a unique name. Keep it short, descriptive and don’t use a name which has already been taken. It’s first come, first served.
  2. Create a package manifest. This is a JSON file describing the plugin, version, dependencies, developer, license, links etc.
  3. Publish your plugin on GitHub. You’ll need to sign-up for an account, create a post-receive hook with the URL http://plugins.jquery.com/postreceive-hook, and push using your preferred Git tool.

First Impressions

The jQuery Plugin Repository is new and has a limited selection of plugins available. The search isn’t the best, plugin descriptions are terse and you need to link out to various information pages which slows down browsing. For me, the most fundamental omission is an absence of user ratings and reviews.

That said, the aim must be to create a repository which is as useful as the WordPress Plugin Directory; a definitive and easy-to-use resource with a thriving developer community. Let’s hope the jQuery team succeed.

Will you publish your code to jQuery Plugin Repository? If you need a plugin, would you head there first?

Free book: Jump Start HTML5 Basics

Grab a free copy of one our latest ebooks! Packed with hints and tips on HTML5's most powerful new features.

  • http://tricky3.co.uk/ Rick Davies

    I will continue to search for plugins using Google… if entries from the jQuery plugin directory come up in those results then I would certainly give them first glance.

  • http://bythepixel.com roeland reyniers

    Review/rating system is a must, I hope they add it soon! Do we know if this is a planned feature?

  • http://www.deepdesigncompany.com/ Mayank

    wow brilliant nice work i really appreciate this. keep it up.