> For the complete documentation index, see [llms.txt](https://api.lampix.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api.lampix.co/application-development/lampixjs/api/getappmetadata.md).

# getAppMetadata

Retrieve the contents of the `package.json` file.

## Returns

(`Promise<object>`): A promise that fulfills with a plain object.

## Example

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

lampix.getAppMetadata()
  .then((pkg) => {
    console.log(pkg.name); // logs the name property from package.json
  });
```
