1.1.11 • Published 3 years ago

short-urls v1.1.11

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Welcome To My First Package

Hello I'm Asta Wlc To My Package

😢 almost R.I.P

My Package It's So Easy And Very HelpFul

You Can Short Urls With More Than 4 Domains Just For Now

But I'll Add A lot Of Them Soon!

Here's Sample Code Of The Package

const short = require('short-urls');
(async () => {
   const shorted = await short('https://www.google.com','l-o-l','Google'); //that's will Short Google Url TO ==> https://www.l-o-l.tk/google
   //You Can See The Output With Log Function
   console.log(shorted); // {
                         // "id": "google",
                         // "url" : "https://www.google.com",
                         // "domain" : "l-o-l",
                         // "message" : "Done Shorted The Url"
                         // }
})

I'm Sure You Think About That

How To Make Url Shorter Like Probot

LikeThis

it's So Easy With Short Urls Package Just Set The Type To i8

sample code

const short = require('short-urls');
client.on('message',async message=>{
    if(message.content.split(' ')[0] == '#short'){
        let url = message.content.split(' ')[1];
        let id = message.content.split(' ')[2];
   const shorted = await short(url,'i8',id); //that's will Short Google Url TO ==> https://i8.ae/codes
   //You Can See The Output With Log Function
   message.channel.send(`https://www.l-o-l.tk/${shorted.id}`);
                         // For Example : 
                         // {
                         // "id": "codes",
                         // "url" : "https://discord.gg/codes",
                         // "domain" : "i8",
                         // "message" : "Done Shorted The Url"
                         // }
}
})

types

typesdomaincustom id
i8https://i8.aefalse
l-o-lhttps://www.l-o-l.tktrue
cutthttps://cutt.ustrue
ks.sahttps://ks.satrue

Features

  • More than 10 Domains
  • Free
  • Fast
  • Helpful

what's new

  • Fix i8 Bug
  • Fixed .com Bug Too
  • Added ks.sa domain
  • Just Change README.MD
  • Beta..

support us

discord

support server

Youtube Channel

subscribe noooooooow

nothing

  • :wut:

More Examples

Codes Example

const short = require('short-urls');
(async () => {
   const shorted = await short('https://www.google.com','ks.sa','Google'); //that's will Short Google Url TO ==> https://www.l-o-l.tk/google
   //You Can See The Output With Log Function
   console.log(shorted); // {
                         // "id": "google",
                         // "url" : "https://www.google.com",
                         // "domain" : "l-o-l",
                         // "message" : "Done Shorted The Url"
                         // }
})

pic Images

i8 ex i8 ex

1.1.11

3 years ago

1.1.10

3 years ago

1.1.9

3 years ago

1.1.8

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1-s

3 years ago

1.0.0

3 years ago