const arg = [
{
name: ["gotlc", "gotcc"],
urls: [],
},
{
name: ["gotlg", "gotgg"],
urls: [],
},
];
const proxy = createProxy(arg);
const { gotgg, gotcc, gotlg, gotlc } = proxy;
gotll({
url: "https://httpstat.us/408",
// searchParams: { url: "https://httpstat.us/408" },
})
.then((res) => {
console.log(res.body);
})
.catch((err) => {
console.log(err.response.body);
});
@kejiweixun/proxy
2.1.1 • Public • PublishedReadme
Keywords
nonePackage Sidebar
Install
npm i @kejiweixun/proxy
Weekly Downloads
0
Version
2.1.1
License
ISC
Unpacked Size
3.7 kB
Total Files
6