UNPKG

@thepassle/app-tools

Version:

Collection of tools I regularly use to build apps. Maybe they're useful to somebody else. Maybe not. Most of these are thin wrappers around native API's, like the native `<dialog>` element, `fetch` API, and `URLPattern`.

10 lines (9 loc) 287 B
/** * @param {{maxAge?: number, maxSize?: number}} options * @returns {import('../index.js').Plugin} */ export function cachePlugin({ maxAge, maxSize, }?: { maxAge?: number; maxSize?: number; }): import('../index.js').Plugin; export const cache: import("../types.js").Plugin;