Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/storage/1_storage_deno_kv.ts>StorageDenoKV

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class StorageDenoKV
implements Storage
extends Storage
import { StorageDenoKV } from "https://deno.land/x/mtkruto@0.1.147/storage/1_storage_deno_kv.ts";

Constructors

new
StorageDenoKV(path?: string)

Properties

readonly
id
kv: Deno.Kv | null
readonly
path
readonly
supportsFiles

Methods

branch(id: string)
get<T>(key: readonly StorageKeyPart[])
getMany<T>(filter: GetManyFilter, params?: { limit?: number; reverse?: boolean; })
incr(key: readonly StorageKeyPart[], by: number)
set(key: readonly StorageKeyPart[], value: unknown)