UNPKG

@bitpatty/imgproxy-url-builder

Version:

A TypeScript helper library for building imgproxy URLs

16 lines (15 loc) 493 B
/** * The cache buster */ type CacheBusterOptions = string; /** * Adds a cache buster to the imgproxy params. * * See https://github.com/imgproxy/imgproxy/blob/6f292443eafb2e39f9252175b61faa6b38105a7c/docs/generating_the_url.md#cache-buster for the imgproxy documentation * * @param buster The cache buster * @returns The cache buster param string */ declare const cacheBuster: (buster: CacheBusterOptions) => string; export default cacheBuster; export { CacheBusterOptions };