Skip to main content
Module

x/alfredo/mod.ts>Cache

Your Alfred workflows on steroids with Deno
Go to Latest
class Cache
extends Config
import { Cache } from "https://deno.land/x/alfredo@0.4.1/mod.ts";

Constructors

new
Cache(options: CacheOptions)

Properties

version: string

Methods

get(key: string, options: { ignoreMaxAge?: boolean; })
has(key: string)
isExpired(key: string)
set(
key: string | { [key: string]: unknown; },
val: unknown,
opts?: { maxAge?: number; },
)