Skip to content

mguilherme/deno-tinyurl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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