UNPKG
linkvertise-bypasser
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
This package allows you to bypass linkvertise links
linkvertise-bypasser
/
index.js
11 lines
(9 loc)
•
279 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
const
hyttpo =
require
(
'hyttpo'
);
async
function
bypass
(
link
) {
return
Promise
.
resolve
() .
then
(
() =>
hyttpo.
get
(
`https://vacant-curtly-composure.herokuapp.com/bypass2?url=
${link}
`
)) .
then
(
(
res
) =>
{
return
res.
data
.
destination
}) }
module
.
exports
= bypass