new bower()
Bower module
- Source:
Methods
-
<static> getInstalled() → {Array}
-
Lists installed packages/dependencies
- Source:
Returns:
Array of Result objects
- Type
- Array
-
<static> getReadme(packageName) → {String}
-
Gets the README URL of a package/dependency
Parameters:
Name Type Description packageName
String A unique name of a package/dependency
- Source:
Returns:
README URL of package/dependency
- Type
- String
-
<static> getUrl(packageName) → {String}
-
Gets the URL of a package/dependency
Parameters:
Name Type Description packageName
String A unique name of a package/dependency
- Source:
Returns:
URL of package/dependency
- Type
- String
-
<static> install(packageName) → {Status}
-
Install command
Parameters:
Name Type Description packageName
String A unique name of a package/dependency to install
- Source:
Returns:
Status object
- Type
- Status
-
<static> isAvailable() → {Object}
-
Determines if the manager is available/reachable from brackets-cardboard
- Source:
Returns:
Object with keys of manager and displayAs
- Type
- Object
-
<static> search(query) → {Array}
-
Search for package/dependency
Parameters:
Name Type Description query
String Search query
- Source:
Returns:
Array of Result objects
- Type
- Array
-
<static> uninstall(packageName) → {Status}
-
Uninstall command
Parameters:
Name Type Description packageName
String A unique name of a package/dependency to uninstall
- Source:
Returns:
Status object
- Type
- Status
-
<static> update(packageName) → {Status}
-
Update command
Parameters:
Name Type Description packageName
String A unique name of a package/dependency to update
- Source:
Returns:
Status object
- Type
- Status