# PluginData.get
Gets the value for a specific key

{/* Do not edit this file. It is automatically generated by API Documenter. */}

## PluginData.get() method

Gets the value for a specific key

**Signature:**

```typescript
get(key: string): string | undefined;
```

## Parameters

<table>
  <thead>
    <tr>
      <th>
        Parameter
      </th>

      <th>
        Type
      </th>

      <th>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        key
      </td>

      <td>
        string
      </td>

      <td>
        The key to get
      </td>
    </tr>
  </tbody>
</table>

**Returns:**

string | undefined

The value associated with the key, or undefined if not found

## Example

```ts
node.data.get("storedColors");
```
