---
hide_title: false
hide_table_of_contents: false
pagination_next: null
pagination_prev: null
---

# KVStoreEntry.metadata()

The `metadata()` method of the `KVStoreEntry` interface provides the binary metadata associated with the `KVStoreEntry`.

The metadata binary may be up to 1000 bytes, and is returned as a `Uint8Array` TypedArray buffer, if metadata is set, or null otherwise.

## Syntax

```js
metadata()
```

### Parameters

None.

### Return value

A `Promise` that resolves to a `Uint8Array` buffer object.
