# getApps

Retrieve the available apps to switch to. Currently only used by the `app-switcher`.

## Returns

(`Promise<AppInfo[]>`): A promise that fulfills with a list of plain objects describing the available apps. `AppInfo` objects have the following properties:

* `name` (*string*): App name.
* `package_data` (*Object*): Information contained in `package.json` for each app.

## Example

```javascript
import lampix from '@lampix/core';

lampix.getApps()
  .then((apps) => {
    console.log(apps[0]) // { name: some-name, package_data: {} }
  });
```
