[go: up one dir, main page]

@yasir.erkam/proxyopi
TypeScript icon, indicating that this package has built-in type declarations

1.0.32 • Public • Published

Welcome to Proxy OPI 👋

Version Documentation Maintenance GitHub contributors NPM Downloads

Free Proxy API

🏠 Homepage

Sources of Proxies

Fetch free proxies from:

Install

npm i @yasir.erkam/proxyopi

Example

import { ProxyOPI, Proxy, ProxyList, Protocol } from "@yasir.erkam/proxyopi";

const proxyOPI = await ProxyOPI.getInstanceAsync("./path/to/proxyList.json");
const proxyList = await proxyOPI.getProxyListAsync();

const list = proxyList.list.filter((proxy: Proxy) => proxy.protocols[0] === Protocol.http || proxy.protocols[0] === Protocol.https);
console.log(list);

Run tests

npm run test

Author

👤 Yasir Erkam Özdemir

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator

Package Sidebar

Install

npm i @yasir.erkam/proxyopi

Weekly Downloads

5

Version

1.0.32

License

none

Unpacked Size

79.5 kB

Total Files

68

Last publish

Collaborators

  • yasir.erkam