v1.1.0
Api wrapper for simple, modern, free and privacy-friendly URL shortener.
Repository
Current version released
5 years ago
Versions
API wrapper for chline link aka chl.li
Usage
import { shorten } from "https://deno.land/x/chline_link/mod.ts"; //or from @artemis69/chline_link
/*
* 'https://google.com' - URL to shorten
* 'forsanta' - Custom ending
* 10 - How many minutes the shortened link should work for
*/
const shortened = await shorten("https://google.com", "forsanta", 10);
console.log(shortened);