code: function getPackages() {
  	var results = [];
  
  	if (extensions && extensions.hasOwnProperty('packages')) {
  		var sourceArray = extensions.packages;
  
  		for (index = 0; index < sourceArray.length; ++index) {
  		    results.push(sourceArray[index]);
  		}
  	}
  
  	return results;
  }
docs: Get the list of the active packages
  
  @return  array