import * as unpic from "https://deno.land/x/unpic@v3.16.1/mod.ts";
Variables
Returns a parser function if the given URL is from a known image CDN | |
Returns a transformer function if the given CDN is supported | |
Returns a transformer function if the given URL is from a known image CDN | |
Parses an image URL into its components. If the URL is not from a known image CDN it returns undefined. | |
Transforms an image URL to a new URL with the given options. If the URL is not from a known image CDN it returns undefined. |
Functions
Gets the canonical URL and CDN for a given image URL, recursing into the source image if it is hosted on another CDN. | |
Interfaces
Asks a CDN if there is a different canonical CDN for the given URL | |
Parse an image URL into its components | |
Options to transform an image URL |