text: const is_url = (str) => {
      let regexp = /http[s]?:\/\/(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*(),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+\.[a-zA-Z]{2,}[/]?.*/g
      if (regexp.test(str)) {
          return true;
      }
      else {
          return false;
      }
  } 
  
  /**
   * Shorten a Url using tinyurl
   * @param {String} url The Url to be shorten
   * @returns {Promise<String>}
   */
  module.exports = async function shortenUrl(url) {
      return new Promise((resolve, reject) => {
          const TinyURL = require('tinyurl');
          try {
              require.resolve("tinyurl");
          } catch (e) {
              throw new Error("[UltraX] => Cannot find module 'tinyurl' Please run 'npm i tinyurl@latest'");
          }
          if (!url) throw new SyntaxError(`short =>  "No url provided"`);
          if (typeof url != "string") throw new SyntaxError(`Short => "The url should be type string"`);
          if (!is_url) throw new ReferenceError(`Short => The url must starts with http:// or https://`);
          TinyURL.shorten(url, function (res, error) {
              if (error || res == "Error") {
                  reject("Short => Somthing Goes Wrong");
              }
              resolve(res)
          });
      });
  }