---
url: /api/reference/wxt/interfaces/FsCache.md
---

[API](../../packages.md) / [wxt](../index.md) / FsCache

# Interface: FsCache

Source: [packages/wxt/src/types.ts:1710](https://github.com/wxt-dev/wxt/blob/7594a4ca5cae24d0d5d705ed0d3ff1347b306e7b/packages/wxt/src/types.ts#L1710)

## Contents

* [Methods](#methods)
  * [get()](#get)
  * [set()](#set)

## Methods

### get()

> **get**(`key`): `Promise`<`string` | `undefined`>

Source: [packages/wxt/src/types.ts:1712](https://github.com/wxt-dev/wxt/blob/7594a4ca5cae24d0d5d705ed0d3ff1347b306e7b/packages/wxt/src/types.ts#L1712)

#### Parameters

##### key

`string`

#### Returns

`Promise`<`string` | `undefined`>

***

### set()

> **set**(`key`, `value`): `Promise`<`void`>

Source: [packages/wxt/src/types.ts:1711](https://github.com/wxt-dev/wxt/blob/7594a4ca5cae24d0d5d705ed0d3ff1347b306e7b/packages/wxt/src/types.ts#L1711)

#### Parameters

##### key

`string`

##### value

`string`

#### Returns

`Promise`<`void`>

***

Generated using [typedoc-plugin-markdown](https://www.npmjs.com/package/typedoc-plugin-markdown) and [TypeDoc](https://typedoc.org/)
