3.0.0 • Published 3 years ago

windows-pac-resolver v3.0.0

Weekly downloads
58
License
MIT
Repository
github
Last release
3 years ago

Generates a pac URI, according to windows global settings, using WinHTTP API

Installation

Just run

npm install windows-pac-resolver

API

const wpr = require('windows-pac-resolver');
const pacURI = wpr.getPACUri();

getPACUri()

Returns a "pac+://..." URI, with the PAC file configured for the system. Returns undefined if no proxy is configured.

If a proxy is manually configured, it will generate a PAC file on-the-fly and return a data uri with the proxy information.

Can be used with modules like proxy-agent or pac-proxy-agent

License

MIT

3.0.0

3 years ago

2.0.4

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago