UNPKG

liquidjs

Version:

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

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