UNPKG

@bitpatty/imgproxy-url-builder

Version:

A TypeScript helper library for building imgproxy URLs

16 lines (15 loc) 470 B
/** * The DPR factor (must be greater than 0) */ type DprOptions = number; /** * Multiplies the dimensions according to the specified factor. * * See https://github.com/imgproxy/imgproxy/blob/6f292443eafb2e39f9252175b61faa6b38105a7c/docs/generating_the_url.md#dpr for the imgproxy documentation * * @param value The DPR factor * @returns The DPR param string */ declare const dpr: (value: DprOptions) => string; export default dpr; export { DprOptions };