Deno tinyURL

Deno module for shorten url with tinyURL.

Usage

To use this library you need to include the --allow-net flag into your script.

import {shorten} from "https://deno.land/x/tinyurl/mod.ts";

const shortLink = await shorten("https://example.com/");
console.log(shortLink);

// https://tinyurl.com/yqp7ct