You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

13 lines
456 B

/**
* Entry point for using fetch-mock-cache with the Bun runtime.
* @module
*/
import { CreateFetchCacheOptions, FetchCache } from "../fetch-cache.js";
/**
* @example
* ```ts
* import createFetchCache from "fetch-mock-cache/runtimes/bun.js"
* import Store from "fetch-mock-cache/stores/memory";
* const fetchCache = createFetchCache({ Store });
*/
export default function createFetchCache(options?: Partial<CreateFetchCacheOptions>): FetchCache;