Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

uploadMedia

import { uploadMedia } from "https://raw.githubusercontent.com/takker99/scrapbox-url-customizer/0.4.3/mod.ts";

Uploads media to Gyazo or scrapbox.io and returns the URL of the uploaded media. If the upload fails, it returns the original media URL.

const uploadMedia: (media: Media, tweetURL: URL) => Promise<URL>;