UNPKG

@bitpatty/imgproxy-url-builder

Version:

A TypeScript helper library for building imgproxy URLs

21 lines (20 loc) 733 B
/** * The list of formats which should not be processed */ type SkipProcessingOptions = string[]; /** * Skip the processing of the listed formats. * * Note: Processing can only be skipped when the requested format is * the same as the source format. * * Note: Video thumbnail processing can't be skipped * * See https://github.com/imgproxy/imgproxy/blob/6f292443eafb2e39f9252175b61faa6b38105a7c/docs/generating_the_url.md#skip-processing for the imgproxy documentation * * @param extensions The list of file extensions * @returns The skip processing param string */ declare const skipProcessing: (extensions: SkipProcessingOptions) => string; export default skipProcessing; export { SkipProcessingOptions };