bower-package-url
v1.0.5
Published
Get the repository URL associated with a bower package name
Downloads
5
Readme
bowerPackageURL
Author: Matthew Hasbach
License: MIT
Copyright: Matthew Hasbach 2015
bowerPackageURL(packageName, cb) ⏏
Get the repository URL associated with a bower package name
Kind: Exported function
| Param | Type | Description | | --- | --- | --- | | packageName | string | A bower package name | | cb | bowerPackageURLCallback | A callback to be executed after the repository URL is collected |
Example
bowerPackageURL('lodash', function(err, url) {
if (err) { console.error(err); }
console.log(url);
});
bowerPackageURL~bowerPackageURLCallback : function
The bowerPackageURL callback
Kind: inner typedef of bowerPackageURL
| Param | Type | Description | | --- | --- | --- | | err | Object | An error object if an error occurred | | url | string | The repository URL associated with the provided bower package name |