Skip to content

KVNamespace

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1778

Key extends string = string

delete(key): Promise<void>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1891

Key

Promise<void>


get(key, options?): Promise<null | string>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1779

Key

Partial<KVNamespaceGetOptions<undefined>>

Promise<null | string>

get(key, type): Promise<null | string>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1783

Key

"text"

Promise<null | string>

get<ExpectedValue>(key, type): Promise<null | ExpectedValue>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1784

ExpectedValue = unknown

Key

"json"

Promise<null | ExpectedValue>

get(key, type): Promise<null | ArrayBuffer>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1788

Key

"arrayBuffer"

Promise<null | ArrayBuffer>

get(key, type): Promise<null | ReadableStream<any>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1789

Key

"stream"

Promise<null | ReadableStream<any>>

get(key, options?): Promise<null | string>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1790

Key

KVNamespaceGetOptions<"text">

Promise<null | string>

get<ExpectedValue>(key, options?): Promise<null | ExpectedValue>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1794

ExpectedValue = unknown

Key

KVNamespaceGetOptions<"json">

Promise<null | ExpectedValue>

get(key, options?): Promise<null | ArrayBuffer>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1798

Key

KVNamespaceGetOptions<"arrayBuffer">

Promise<null | ArrayBuffer>

get(key, options?): Promise<null | ReadableStream<any>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1802

Key

KVNamespaceGetOptions<"stream">

Promise<null | ReadableStream<any>>

get(key, type): Promise<Map<string, null | string>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1806

Key[]

"text"

Promise<Map<string, null | string>>

get<ExpectedValue>(key, type): Promise<Map<string, null | ExpectedValue>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1807

ExpectedValue = unknown

Key[]

"json"

Promise<Map<string, null | ExpectedValue>>

get(key, options?): Promise<Map<string, null | string>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1811

Key[]

Partial<KVNamespaceGetOptions<undefined>>

Promise<Map<string, null | string>>

get(key, options?): Promise<Map<string, null | string>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1815

Key[]

KVNamespaceGetOptions<"text">

Promise<Map<string, null | string>>

get<ExpectedValue>(key, options?): Promise<Map<string, null | ExpectedValue>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1819

ExpectedValue = unknown

Key[]

KVNamespaceGetOptions<"json">

Promise<Map<string, null | ExpectedValue>>


getWithMetadata<Metadata>(key, options?): Promise<KVNamespaceGetWithMetadataResult<string, Metadata>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1831

Metadata = unknown

Key

Partial<KVNamespaceGetOptions<undefined>>

Promise<KVNamespaceGetWithMetadataResult<string, Metadata>>

getWithMetadata<Metadata>(key, type): Promise<KVNamespaceGetWithMetadataResult<string, Metadata>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1835

Metadata = unknown

Key

"text"

Promise<KVNamespaceGetWithMetadataResult<string, Metadata>>

getWithMetadata<ExpectedValue, Metadata>(key, type): Promise<KVNamespaceGetWithMetadataResult<ExpectedValue, Metadata>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1839

ExpectedValue = unknown

Metadata = unknown

Key

"json"

Promise<KVNamespaceGetWithMetadataResult<ExpectedValue, Metadata>>

getWithMetadata<Metadata>(key, type): Promise<KVNamespaceGetWithMetadataResult<ArrayBuffer, Metadata>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1843

Metadata = unknown

Key

"arrayBuffer"

Promise<KVNamespaceGetWithMetadataResult<ArrayBuffer, Metadata>>

getWithMetadata<Metadata>(key, type): Promise<KVNamespaceGetWithMetadataResult<ReadableStream<any>, Metadata>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1847

Metadata = unknown

Key

"stream"

Promise<KVNamespaceGetWithMetadataResult<ReadableStream<any>, Metadata>>

getWithMetadata<Metadata>(key, options): Promise<KVNamespaceGetWithMetadataResult<string, Metadata>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1851

Metadata = unknown

Key

KVNamespaceGetOptions<"text">

Promise<KVNamespaceGetWithMetadataResult<string, Metadata>>

getWithMetadata<ExpectedValue, Metadata>(key, options): Promise<KVNamespaceGetWithMetadataResult<ExpectedValue, Metadata>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1855

ExpectedValue = unknown

Metadata = unknown

Key

KVNamespaceGetOptions<"json">

Promise<KVNamespaceGetWithMetadataResult<ExpectedValue, Metadata>>

getWithMetadata<Metadata>(key, options): Promise<KVNamespaceGetWithMetadataResult<ArrayBuffer, Metadata>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1859

Metadata = unknown

Key

KVNamespaceGetOptions<"arrayBuffer">

Promise<KVNamespaceGetWithMetadataResult<ArrayBuffer, Metadata>>

getWithMetadata<Metadata>(key, options): Promise<KVNamespaceGetWithMetadataResult<ReadableStream<any>, Metadata>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1863

Metadata = unknown

Key

KVNamespaceGetOptions<"stream">

Promise<KVNamespaceGetWithMetadataResult<ReadableStream<any>, Metadata>>

getWithMetadata<Metadata>(key, type): Promise<Map<string, KVNamespaceGetWithMetadataResult<string, Metadata>>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1867

Metadata = unknown

Key[]

"text"

Promise<Map<string, KVNamespaceGetWithMetadataResult<string, Metadata>>>

getWithMetadata<ExpectedValue, Metadata>(key, type): Promise<Map<string, KVNamespaceGetWithMetadataResult<ExpectedValue, Metadata>>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1871

ExpectedValue = unknown

Metadata = unknown

Key[]

"json"

Promise<Map<string, KVNamespaceGetWithMetadataResult<ExpectedValue, Metadata>>>

getWithMetadata<Metadata>(key, options?): Promise<Map<string, KVNamespaceGetWithMetadataResult<string, Metadata>>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1877

Metadata = unknown

Key[]

Partial<KVNamespaceGetOptions<undefined>>

Promise<Map<string, KVNamespaceGetWithMetadataResult<string, Metadata>>>

getWithMetadata<Metadata>(key, options?): Promise<Map<string, KVNamespaceGetWithMetadataResult<string, Metadata>>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1881

Metadata = unknown

Key[]

KVNamespaceGetOptions<"text">

Promise<Map<string, KVNamespaceGetWithMetadataResult<string, Metadata>>>

getWithMetadata<ExpectedValue, Metadata>(key, options?): Promise<Map<string, KVNamespaceGetWithMetadataResult<ExpectedValue, Metadata>>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1885

ExpectedValue = unknown

Metadata = unknown

Key[]

KVNamespaceGetOptions<"json">

Promise<Map<string, KVNamespaceGetWithMetadataResult<ExpectedValue, Metadata>>>


list<Metadata>(options?): Promise<KVNamespaceListResult<Metadata, Key>>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1823

Metadata = unknown

KVNamespaceListOptions

Promise<KVNamespaceListResult<Metadata, Key>>


put(key, value, options?): Promise<void>

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:1826

Key

string | ArrayBuffer | ArrayBufferView<ArrayBufferLike> | ReadableStream<any>

KVNamespacePutOptions

Promise<void>