You've probably seen something like this on the homepages of MooTools, jQuery, or jQuery UI, big coding projects that are broken down into smaller modules which can then be used preferentially based on the user's project's requirements.