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

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

# Interface: FsCache

Source: [packages/wxt/src/types.ts:1731](https://github.com/wxt-dev/wxt/blob/f7b9c4360e26a0d7dba32427e074c62f60aaf4ac/packages/wxt/src/types.ts#L1731)

## Contents

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

## Methods

### get()

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

Source: [packages/wxt/src/types.ts:1733](https://github.com/wxt-dev/wxt/blob/f7b9c4360e26a0d7dba32427e074c62f60aaf4ac/packages/wxt/src/types.ts#L1733)

#### Parameters

##### key

`string`

#### Returns

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

***

### set()

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

Source: [packages/wxt/src/types.ts:1732](https://github.com/wxt-dev/wxt/blob/f7b9c4360e26a0d7dba32427e074c62f60aaf4ac/packages/wxt/src/types.ts#L1732)

#### 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/)
