Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/leoafarias/zeit-integration-inspect

Quickly inspect values during Zeit Now Integrations development.
https://github.com/leoafarias/zeit-integration-inspect

zeit zeit-now zeit-now-integration

Last synced: 6 days ago
JSON representation

Quickly inspect values during Zeit Now Integrations development.

Awesome Lists containing this project

README

        

# zeit-integration-inspect

Quickly inspect values during Zeit Integrations development.

![Screenshot](./screen.png)

## Install

```bash
yarn add --dev zeit-integration-inspect
```

## Usage

```javascript
const inspectPanel = require("zeit-integration-inspect");

async function handler(options){
return htm`


Your Integration


Awesome description.



${await inspectPanel(options, values)}

`;
}

module.exports = withUiHook(handler);
```

### Parameters

- **options** - values that are passed down from withUiHook middleware.

- **values** - These are values you would like to display during development.

### Default Panels

The panel will display **metadata, clientState, action** by default from the **options** parameter.

You can always choose to hide them.