Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
interface Persistance
import { type Persistance } from "https://deno.land/x/frugal@0.2.1/packages/core/mod.ts";

A persistance layer

Methods

set(path: string, content: string): Promise<void>

Set the given content at the given path

get(path: string): Promise<string>

Set the content at the given path

delete(path: string): Promise<void>

delete the content at the given path