# @adobe/aio-exc-app

> Client helper functions for firefly apps running in experience.adobe.com unified shell

Latest version **0.1.0** (published 2023-09-08) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @adobe/aio-exc-app
pnpm add @adobe/aio-exc-app
yarn add @adobe/aio-exc-app
bun add @adobe/aio-exc-app
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2023-09-08 |
| First published | 2023-09-08 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 116.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | adobehalls, fullcolorcoder, marbec, tripod, garthdb, lazd, adobe-admin, patrickfulton, trieloff, shazron, krisnye, dcpfsdk, natebaldwin, devongovett, aspro83, symanovi, dpfister, stefan-guggisberg, korra, rofe, kptdobe |
| Keywords | serverless, cloud-native, adobe, adobe-runtime |

## Links

- npm: https://www.npmjs.com/package/@adobe/aio-exc-app
- Repository: https://github.com/purplecabbage/aio-exc-app
- Homepage: https://github.com/purplecabbage/aio-exc-app#readme
- Issues: https://github.com/purplecabbage/aio-exc-app/issues
- npm.io page: https://npm.io/package/@adobe/aio-exc-app

## Recent versions

- 0.1.0 (latest) — 2023-09-08

## README

# aio-exc-app

This helper library contains function you can use in your App Builder application.

### web example ( for browser / frontend code )

```js
import { actionWebInvoke } from '@adobe/aio-exc-app/web'
const actionResponse = await actionWebInvoke(actionUrl, headers, params)
```

### action example ( for use in your runtime actions / backend )

```js
const { errorResponse,
        getBearerToken,
        stringParameters,
        checkMissingRequestInputs } = require('@adobe/aio-exc-app/action')

async function main (params) {
    logger.debug(stringParameters(params))

    const errorMessage = checkMissingRequestInputs(params, requiredParams, requiredHeaders)
    if (errorMessage) {
        // return and log client errors
        return errorResponse(400, errorMessage, logger)
    }

    const token = getBearerToken(params)
    /* ... */
}
```

---
_Source: https://npm.io/package/@adobe/aio-exc-app · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
