Repository
Current version released
3 years ago
Versions
Shorty
You can get this package by nest.land, deno.land or denopkg.
Usage
This package exposes just one function, shorty.
import shorty from "https://deno.land/x/shorty/mod.ts";
const shortUrl = await shorty("https://github.com/UltiRequiem/shorty");
console.log(shortUrl); // https://cleanuri.com/OjXAO1
CLI Tool
Installation
deno install --allow-net https://deno.land/x/shorty/cli.ts
deno install --allow-net https://denopkg.com/UltiRequiem/shorty/cli.ts
deno install --allow-net https://x.nest.land/shorty@1.1.1/mod.ts
Usage
$ shorty https://stackoverflow.com/questions/5717093
Original URL: https://stackoverflow.com/questions/5717093
Short URL: https://cleanuri.com/GeWAQO
It is printed with colors :)
License
This project is licensed under the MIT License.