# advanced-proxy-checker

> NPM module to check proxy speed, fraud-score, latency and every other information of proxies.

Latest version **1.1.0** (published 2023-05-12) · GPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install advanced-proxy-checker
pnpm add advanced-proxy-checker
yarn add advanced-proxy-checker
bun add advanced-proxy-checker
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2023-05-12 |
| First published | 2023-05-03 |
| Weekly downloads | 0 |
| License | GPL-3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 43.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 10 |
| Author | wiz64 |
| Maintainers | wiz64 |
| Keywords | check proxy, test proxy, proxy, fraudscore, ip, speed, test, latency, proxies, information |

## Links

- npm: https://www.npmjs.com/package/advanced-proxy-checker
- Repository: https://github.com/wiz64/advanced-proxy-checker
- Homepage: https://github.com/wiz64/advanced-proxy-checker#readme
- Issues: https://github.com/wiz64/advanced-proxy-checker/issues
- npm.io page: https://npm.io/package/advanced-proxy-checker

## Dependencies (1)

- [proxy-agent](https://npm.io/package/proxy-agent.md) ^5.0.0

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads
- [aws-elasticsearch-connector](https://npm.io/package/aws-elasticsearch-connector.md) — 37.4K weekly downloads

## Recent versions

- 1.1.0 (latest) — 2023-05-12
- 1.0.2 — 2023-05-03
- 1.0.1 — 2023-05-03

## README

## Advanced Proxy Checker

Test proxies and find IP data like geolocation, fraudScore, whether the proxy is using a publically known datacenter or vpn ip, ASN/ISP Data.

### Full Method

```js
//example.js

const proxyCheck = require('advanced-proxy-checker')
var proxy = "socks5://user:pass@proxy:port";
async function main() {
    var result = await (proxyCheck.full(proxy));
    console.log(result);
}
    main();

```
successful output:
```js
{
  valid: true,
  status: 'Connection Successful',
  data: {
    ip: '45.155.68.XXX',
    city: 'Haarlem',
    region: 'North Holland',
    country: 'NL',
    loc: '52.3613,4.6464',
    org: 'AS60781 LeaseWeb Netherlands B.V.',
    postal: '2034',
    timezone: 'Europe/Amsterdam',
    asn: {
      asn: 'AS60781',
      name: 'LeaseWeb Netherlands B.V.',
      domain: 'leaseweb.com',
      route: '45.155.68.0/24',
      type: 'hosting'
    },
    company: {
      name: 'RapidSeedbox Ltd',
      domain: 'rapidseedbox.com',
      type: 'business'
    },
    privacy: {
      vpn: false,
      proxy: false,
      tor: false,
      relay: false,
      hosting: false,
      service: ''
    },
    abuse: {
      address: 'Haim Toran 28 On 6, Jerusalem, ISRAEL',
      country: 'NL',
      email: 'ip@rapidseedbox.com',
      name: 'Abuse-C Role',
      network: '45.155.68.0/24',
      phone: ''
    },
    fraudScore: 66,
    riskLevel: 'high'
  }
}
```
failed output : (valid will be false)
```js
{ status: 'Unknown Error', valid: false }
```
or
```js
{ status: 'Bad Gateway', valid: false }
```

## All Methods
- full

returns ip geo data, asn and privacy data as well as fraudScore, riskLevel
```js
await proxyCheck.full(proxy);
```

- test

returns only ip as a quick test
```js
await proxyCheck.test(proxy);
```

- info

returns ip geo data, asn and privacy 
```js
await proxyCheck.info(proxy);
```

---
_Source: https://npm.io/package/advanced-proxy-checker · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
