1.0.3 • Published 3 years ago
@foxxie/short v1.0.3
Small wrapper for is.gd and shortening links in Foxxie.
Package
Documentation
const { IsgdClient } = require('@foxxie/short');
const isgd = new IsgdClient();
// supports custom domain names
const url = await isgd.custom('https://ruff.cafe', 'ruffy');
// returns https://is.gd/ruffy
const url = await isgd.shorten('discord.js.org');
// returns https://se0tWa