> For the complete documentation index, see [llms.txt](https://stash-it.gitbook.io/stash-it/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://stash-it.gitbook.io/stash-it/api/adapter/getextra-key.md).

# getExtra(key)

Returns and extra.

### **Arguments**

1. `key` *(string)*: A string used to find and fetch item's extra under.

### **Returns**

*(object)*: The `extra` part of [Item](/stash-it/basic-structure.md#item).

*(undefined)*: If item is not found (thus no extra can be taken from it), returns `undefined`.

### **Example**

```javascript
// `extra` will be either an object or undefined - depending if item exists or not
const extra = adapter.getExtra('key');
```
