Very Helpful Short Url Package
Now
js
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

it's So Easy With Short Urls Package Just Set The Type To i8
sample code
`js
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
| types | domain | custom id|
| ----------- | ----------- | ----------- |
| i8 | https://i8.ae | false|
| l-o-l | https://www.l-o-l.tk| true|
| cutt | https://cutt.us| true|
|ks.sa | https://ks.sa| true|
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
- 
More Examples
Codes Example
`js
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"
// }
})
``