const { CtgsClient } = require("ctgs.js");
const shortener = new CtgsClient();
//whatever ur doing
await shortener.new("tovade", "https://github.com/tovade");
//returns https://ctgs.ga/tovade if it was success
const { CtgsClient } = require("ctgs.js");
const shortener = new CtgsClient();
//whatever ur doing
await shortener.get("tovade");
//returns https://github.com/tovade if it exist's