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

x/keydb/memory.ts>MemoryAdapter#set

Simple Key-value storage module with support for multiple database backends.
Latest
method MemoryAdapter.prototype.set
import { MemoryAdapter } from "https://deno.land/x/keydb@1.0.0/memory.ts";

Parameters

k: string
v: any
optional
ns = [UNSUPPORTED]
optional
ttl = [UNSUPPORTED]