UNPKG

liquidjs

Version:

A simple, expressive and safe Shopify / Github Pages compatible template engine in pure JavaScript.

6 lines (5 loc) 201 B
export interface Cache<T> { write(key: string, value: T): void | Promise<void>; read(key: string): T | undefined | Promise<T | undefined>; remove(key: string): void | Promise<void>; }